Class: FalseClass
- Inherits:
-
Object
- Object
- FalseClass
- Defined in:
- lib/santas_little_helper.rb
Instance Method Summary collapse
-
#to_h ⇒ Object
Humanize.
-
#to_i ⇒ Object
Rails conventions for boolean / tinyint.
-
#to_teenager ⇒ Object
Little obnoxious teenager.
Instance Method Details
#to_h ⇒ Object
Humanize. to_s returns “false”.
78 79 80 |
# File 'lib/santas_little_helper.rb', line 78 def to_h "no" end |
#to_i ⇒ Object
Rails conventions for boolean / tinyint
74 75 76 |
# File 'lib/santas_little_helper.rb', line 74 def to_i 0 end |
#to_teenager ⇒ Object
Little obnoxious teenager.
82 83 84 |
# File 'lib/santas_little_helper.rb', line 82 def to_teenager "Can't you leave me alone? I don't have anything!" end |