Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/redis_orm.rb
Instance Method Summary collapse
Instance Method Details
#human ⇒ Object
23 24 25 |
# File 'lib/redis_orm.rb', line 23 def human self.to_s.humanize end |
#i18n_key ⇒ Object
19 20 21 |
# File 'lib/redis_orm.rb', line 19 def i18n_key self.to_s.tableize end |