Sha256: 4788dd1547456ed9acc1ee4a1e4f8f8b3584f0466fd11ba2af991b6e367c3f5a

Contents?: true

Size: 293 Bytes

Versions: 5

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true

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

5 entries across 5 versions & 1 rubygems

Version Path
dry-logic-1.0.6 lib/dry/logic/operations/attr.rb
dry-logic-1.0.5 lib/dry/logic/operations/attr.rb
dry-logic-1.0.4 lib/dry/logic/operations/attr.rb
dry-logic-1.0.3 lib/dry/logic/operations/attr.rb
dry-logic-1.0.2 lib/dry/logic/operations/attr.rb