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