Class: Jade::Type::Constructor
- Inherits:
-
Data
- Object
- Data
- Jade::Type::Constructor
- Includes:
- Base
- Defined in:
- lib/jade/type/constructor.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
3 4 5 |
# File 'lib/jade/type/constructor.rb', line 3 def name @name end |
Instance Method Details
#apply(types) ⇒ Object
10 11 12 |
# File 'lib/jade/type/constructor.rb', line 10 def apply(types) Application[self, types] end |
#to_s ⇒ Object
6 7 8 |
# File 'lib/jade/type/constructor.rb', line 6 def to_s name.split('.').last end |
#unbound_vars ⇒ Object
14 15 16 |
# File 'lib/jade/type/constructor.rb', line 14 def unbound_vars [] end |