Sha256: d2ed7b4d3f52317c76d57431a51de2baf973e3994f4789a1c924af2cc0b9a80e
Contents?: true
Size: 266 Bytes
Versions: 24
Compression:
Stored size: 266 Bytes
Contents
module Riveter class UnknownAttributeError < NoMethodError attr_reader :instance, :attribute def initialize(instance, attribute) @instance = instance @attribute = attribute.to_s super("unknown attribute: #{attribute}") end end end
Version data entries
24 entries across 24 versions & 1 rubygems
Version | Path |
---|---|
riveter-0.0.5 | lib/riveter/errors.rb |
riveter-0.0.4 | lib/riveter/errors.rb |
riveter-0.0.3 | lib/riveter/errors.rb |
riveter-0.0.1 | lib/riveter/errors.rb |