Sha256: 178cb4c14e70902e8df3bdc3d2115dfd207be78b126f36576ec4634f9274db0c

Contents?: true

Size: 262 Bytes

Versions: 7

Compression:

Stored size: 262 Bytes

Contents

require 'dry/logic/operations/key'

module Dry
  module Logic
    module Operations
      class Attr < Key
        def self.evaluator(name)
          Evaluator::Attr.new(name)
        end

        def type
          :attr
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dry-logic-1.0.0 lib/dry/logic/operations/attr.rb
dry-logic-0.6.1 lib/dry/logic/operations/attr.rb
dry-logic-0.6.0 lib/dry/logic/operations/attr.rb
dry-logic-0.5.0 lib/dry/logic/operations/attr.rb
dry-logic-0.4.2 lib/dry/logic/operations/attr.rb
dry-logic-0.4.1 lib/dry/logic/operations/attr.rb
dry-logic-0.4.0 lib/dry/logic/operations/attr.rb