Module: Ooor::Naming
Defined Under Namespace
Modules: ClassMethods Classes: Name
Instance Method Summary collapse
Instance Method Details
#to_param ⇒ Object
81 82 83 84 |
# File 'lib/ooor/naming.rb', line 81 def to_param field = self.class.param_field send(field) && send(field).to_s end |