class Alchemy::ElementDefinitionError

Public Class Methods

new(attributes) click to toggle source

Raised if element definition can not be found.

# File lib/alchemy/errors.rb, line 24
def initialize(attributes)
  @name = attributes[:name]
end

Public Instance Methods

message() click to toggle source
# File lib/alchemy/errors.rb, line 28
def message
  "Element definition for #{@name} not found. Please check your elements.yml"
end