Class: EmptySymbol
- Inherits:
-
Object
- Object
- EmptySymbol
- Defined in:
- lib/origami/name.rb
Instance Method Summary collapse
Instance Method Details
#==(sym) ⇒ Object
28 29 30 |
# File 'lib/origami/name.rb', line 28 def ==(sym) sym.is_a?(EmptySymbol) end |
#id2name ⇒ Object Also known as: to_s
32 33 34 |
# File 'lib/origami/name.rb', line 32 def id2name "" end |
#inspect ⇒ Object
45 46 47 |
# File 'lib/origami/name.rb', line 45 def inspect ":" end |
#to_o ⇒ Object
41 42 43 |
# File 'lib/origami/name.rb', line 41 def to_o Name.new("") end |
#to_sym ⇒ Object
37 38 39 |
# File 'lib/origami/name.rb', line 37 def to_sym self end |