Class: Peruby::Dualvar
- Inherits:
-
Data
- Object
- Data
- Peruby::Dualvar
- Defined in:
- lib/peruby/runtime/scalar.rb
Instance Attribute Summary collapse
-
#num ⇒ Object
readonly
Returns the value of attribute num.
-
#str ⇒ Object
readonly
Returns the value of attribute str.
Instance Attribute Details
#num ⇒ Object (readonly)
Returns the value of attribute num
26 27 28 |
# File 'lib/peruby/runtime/scalar.rb', line 26 def num @num end |
#str ⇒ Object (readonly)
Returns the value of attribute str
26 27 28 |
# File 'lib/peruby/runtime/scalar.rb', line 26 def str @str end |