Class: Tiddle::ModelName
- Inherits:
- 
      Object
      
        - Object
- Tiddle::ModelName
 
- Defined in:
- lib/tiddle/model_name.rb
Instance Method Summary collapse
Instance Method Details
#with_dashes(model) ⇒ Object
| 7 8 9 | # File 'lib/tiddle/model_name.rb', line 7 def with_dashes(model) with_underscores(model).dasherize end | 
#with_underscores(model) ⇒ Object
| 3 4 5 | # File 'lib/tiddle/model_name.rb', line 3 def with_underscores(model) model.model_name.to_s.underscore.upcase end |