Sha256: 03451b01ffc6b5d68e5442a643d95df120c946566d3266704fd636bca2dd1a45

Contents?: true

Size: 198 Bytes

Versions: 3

Compression:

Stored size: 198 Bytes

Contents

module Yema
  class Error
    include Equalizer.new(:rule, :resource)

    attr_reader :rule, :resource

    def initialize(rule, resource)
      @rule, @resource = rule, resource
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yema-0.0.3 lib/yema/error.rb
yema-0.0.2 lib/yema/error.rb
yema-0.0.1 lib/yema/error.rb