Sha256: f54d8f1e2bb3265a2a991487f1ea1f148b7de02407c81891942e97b4c72ae233

Contents?: true

Size: 346 Bytes

Versions: 53

Compression:

Stored size: 346 Bytes

Contents

# Well, I expect tons of questions about this.
# Just let it stay, unless I understand the cause of exception thrown
#   in this particular case.

# rubocop:disable Style/ClassAndModuleChildren
class Dry::Logic::Rule::Value < Dry::Logic::Rule
  def input
    predicate.args.last rescue nil
  end
end
# rubocop:enable Style/ClassAndModuleChildren

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
dry-mutations-1.6.0 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.5.7 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.5.6 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.5.5 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.5.4 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.5.3 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.5.2 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.5.1 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.5.0 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.3.6 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.3.5 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.3.4 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.3.3 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.3.2 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.3.1 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.1.3 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.1.1 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.1.0 lib/dry/mutations/monkeypatches.rb
dry-mutations-1.0.0 lib/dry/mutations/monkeypatches.rb
dry-mutations-0.99.100 lib/dry/mutations/monkeypatches.rb