Method: Arsenicum::Configuration::InstanceConfiguration#type
- Defined in:
- lib/arsenicum/configuration.rb
#type(type_name) ⇒ Object
70 71 72 73 74 |
# File 'lib/arsenicum/configuration.rb', line 70 def type(type_name) @klass = constantize(classify(type_name)) rescue NameError @klass = constantize(classify(type_name), inside: inside) end |