Class: Symbol
Instance Method Summary collapse
- #to_a ⇒ Object
- #to_or ⇒ Object
-
#to_orient ⇒ Object
symbols are masked with “:symbol:”.
Instance Method Details
#to_a ⇒ Object
62 63 64 |
# File 'lib/other.rb', line 62 def to_a [ self ] end |
#to_or ⇒ Object
69 70 71 |
# File 'lib/other.rb', line 69 def to_or "'"+self.to_orient+"'" end |
#to_orient ⇒ Object
symbols are masked with “:symbol:”
66 67 68 |
# File 'lib/other.rb', line 66 def to_orient ":"+self.to_s+":" end |