Class: Risp::Symbol
- Inherits:
-
Struct
- Object
- Struct
- Risp::Symbol
- 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
5 6 7 |
# File 'lib/risp.rb', line 5 def name @name end |
Instance Method Details
#inspect ⇒ Object
6 7 8 |
# File 'lib/risp.rb', line 6 def inspect name.to_s end |