Method: Alchemy::Element::Definitions::ClassMethods#definition_by_name

Defined in:
app/models/alchemy/element/definitions.rb

#definition_by_name(name) ⇒ Object

Returns one element definition by given name.



30
31
32
# File 'app/models/alchemy/element/definitions.rb', line 30

def definition_by_name(name)
  definitions_repository.get(name)
end