Class: FalseClass
- Inherits:
-
Object
- Object
- FalseClass
- Defined in:
- lib/humanize_boolean.rb
Instance Method Summary collapse
-
#humanize ⇒ Object
The humanize method to return the string “No” or a translation of that for the key locale.boolean.no.
Instance Method Details
#humanize ⇒ Object
The humanize method to return the string “No” or a translation of that for the key locale.boolean.no
true.humanize # => "No"
23 24 25 |
# File 'lib/humanize_boolean.rb', line 23 def humanize I18n.t "boolean.no", :default => "No" end |