Module: Cell::RailsExtension::ConstantFor

Defined in:
lib/cell/rails/constant_for.rb

Instance Method Summary collapse

Instance Method Details

#constant_for(name) ⇒ Object


4
5
6
# File 'lib/cell/rails/constant_for.rb', line 4

def constant_for(name)
  name.camelize.constantize
end