Sha256: 8373b6cf1eb9ce1a0c62e7f6e080c400ab7b277d41202a72f70fa83f4aff3f5a

Contents?: true

Size: 178 Bytes

Versions: 13

Compression:

Stored size: 178 Bytes

Contents

module Metaractor
  module ContextHasKey
    def has_key?(key)
      @table.has_key?(key.to_sym)
    end
  end
end

Interactor::Context.send(:include, Metaractor::ContextHasKey)

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
metaractor-3.3.4 lib/metaractor/context_has_key.rb
metaractor-3.3.3 lib/metaractor/context_has_key.rb
metaractor-3.3.2 lib/metaractor/context_has_key.rb
metaractor-3.3.0 lib/metaractor/context_has_key.rb
metaractor-3.2.0 lib/metaractor/context_has_key.rb
metaractor-3.1.1 lib/metaractor/context_has_key.rb
metaractor-3.1.0 lib/metaractor/context_has_key.rb
metaractor-3.0.1 lib/metaractor/context_has_key.rb
metaractor-3.0.0 lib/metaractor/context_has_key.rb
metaractor-2.1.1 lib/metaractor/context_has_key.rb
metaractor-2.1.0 lib/metaractor/context_has_key.rb
metaractor-2.0.0 lib/metaractor/context_has_key.rb
metaractor-1.2.1 lib/metaractor/context_has_key.rb