Module: Ooor::Naming

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/ooor/naming.rb

Defined Under Namespace

Modules: ClassMethods Classes: Name

Instance Method Summary collapse

Instance Method Details

#to_paramObject



87
88
89
90
# File 'lib/ooor/naming.rb', line 87

def to_param
  field = self.class.param_field
  send(field) && send(field).to_s
end