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.8.3 lib/riveter/errors.rb
riveter-0.8.2 lib/riveter/errors.rb
riveter-0.8.1 lib/riveter/errors.rb
riveter-0.8.0 lib/riveter/errors.rb
riveter-0.7.0 lib/riveter/errors.rb
riveter-0.6.0 lib/riveter/errors.rb
riveter-0.3.0 lib/riveter/errors.rb
riveter-0.2.1 lib/riveter/errors.rb
riveter-0.2.0 lib/riveter/errors.rb
riveter-0.1.1 lib/riveter/errors.rb
riveter-0.0.15 lib/riveter/errors.rb
riveter-0.0.14 lib/riveter/errors.rb
riveter-0.0.13 lib/riveter/errors.rb
riveter-0.0.12 lib/riveter/errors.rb
riveter-0.0.11 lib/riveter/errors.rb
riveter-0.0.10 lib/riveter/errors.rb
riveter-0.0.9 lib/riveter/errors.rb
riveter-0.0.8 lib/riveter/errors.rb
riveter-0.0.7 lib/riveter/errors.rb
riveter-0.0.6 lib/riveter/errors.rb