Class: Risp::Splat
- Inherits:
-
Struct
- Object
- Struct
- Risp::Splat
- Defined in:
- lib/risp.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
17 18 19 |
# File 'lib/risp.rb', line 17 def name @name end |
Instance Method Details
#inspect ⇒ Object
18 19 20 |
# File 'lib/risp.rb', line 18 def inspect "&#{name.to_s}" end |