class Decoradar::AttributeNotFound

Attributes

attribute_name[R]
decorated[R]

Public Class Methods

new(decorated, attribute_name) click to toggle source
Calls superclass method
# File lib/decoradar/errors.rb, line 5
def initialize(decorated, attribute_name)
  @decorated = decorated
  @attribute_name = attribute_name
  super()
end

Public Instance Methods

message() click to toggle source
# File lib/decoradar/errors.rb, line 11
def message
  "Attribute ##{attribute_name} not implemented on model #{decorated.class}"
end