Class: Jade::Tuple::Tuple2
- Inherits:
-
Data
- Object
- Data
- Jade::Tuple::Tuple2
- Defined in:
- lib/jade/runtime.rb
Instance Attribute Summary collapse
-
#_1 ⇒ Object
readonly
Returns the value of attribute _1.
-
#_2 ⇒ Object
readonly
Returns the value of attribute _2.
Instance Method Summary collapse
Instance Attribute Details
#_1 ⇒ Object (readonly)
Returns the value of attribute _1
9 10 11 |
# File 'lib/jade/runtime.rb', line 9
def _1
@_1
end
|
#_2 ⇒ Object (readonly)
Returns the value of attribute _2
9 10 11 |
# File 'lib/jade/runtime.rb', line 9
def _2
@_2
end
|
Instance Method Details
#to_s ⇒ Object
10 |
# File 'lib/jade/runtime.rb', line 10 def to_s = "(#{[_1, _2].map(&:to_s).join(', ')})" |