Class: Sym
Instance Attribute Summary collapse
-
#file ⇒ Object
Returns the value of attribute file.
-
#line ⇒ Object
Returns the value of attribute line.
Instance Method Summary collapse
- #inspect ⇒ Object
-
#special_form ⇒ Object
TODO: refactor?.
- #sym ⇒ Object
- #to_s ⇒ Object
Methods inherited from String
Methods included from Callable
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file.
2 3 4 |
# File 'lib/object_extensions.rb', line 2 def file @file end |
#line ⇒ Object
Returns the value of attribute line.
2 3 4 |
# File 'lib/object_extensions.rb', line 2 def line @line end |
Instance Method Details
#inspect ⇒ Object
9 10 11 |
# File 'lib/object_extensions.rb', line 9 def inspect self end |
#special_form ⇒ Object
TODO: refactor?
5 6 7 |
# File 'lib/object_extensions.rb', line 5 def special_form BusScheme[self].special_form end |
#sym ⇒ Object
17 18 19 |
# File 'lib/object_extensions.rb', line 17 def sym self end |
#to_s ⇒ Object
13 14 15 |
# File 'lib/object_extensions.rb', line 13 def to_s self end |