Method: Alchemy::Element::Definitions::ClassMethods#definitions

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

#definitionsObject

Returns the definitions from elements.yml file.

Place a elements.yml file inside your apps config/alchemy folder to define your own set of elements



24
25
26
# File 'app/models/alchemy/element/definitions.rb', line 24

def definitions
  definitions_repository.all
end