Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/subtype.rb
Instance Method Summary collapse
Instance Method Details
#long? ⇒ Boolean
27 28 29 |
# File 'lib/subtype.rb', line 27 def long? self == :long end |
#short? ⇒ Boolean
31 32 33 |
# File 'lib/subtype.rb', line 31 def short? self == :short end |