Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/Olib/ext/symbol.rb
Instance Method Summary collapse
Instance Method Details
#err? ⇒ Boolean
10 11 12 |
# File 'lib/Olib/ext/symbol.rb', line 10 def err? self.eql?(:err) end |
#ok? ⇒ Boolean
6 7 8 |
# File 'lib/Olib/ext/symbol.rb', line 6 def ok? self.eql?(:ok) end |
#to_game ⇒ Object
2 3 4 |
# File 'lib/Olib/ext/symbol.rb', line 2 def to_game self.to_s.gsub("_", " ") end |