Module: Alchemy::Element::Definitions::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#definitionsObject Also known as: descriptions

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



15
16
17
# File 'app/models/alchemy/element/definitions.rb', line 15

def definitions
  @definitions ||= read_definitions_file
end