Sha256: 5a39c8c3ae7d4c4e3d1674eca1eb1e9e963ee88177f4ddf545b9b5929872b454

Contents?: true

Size: 508 Bytes

Versions: 3

Compression:

Stored size: 508 Bytes

Contents

module Precheck
  # after each item is checked for rule conformance to a single rule, a result is generated
  # a result can have a status of success or fail for a given rule/item
  class RuleCheckResult
    attr_accessor :item
    attr_accessor :rule_return # RuleReturn
    attr_accessor :rule

    def initialize(item, rule_return, rule)
      @item = item
      @rule_return = rule_return
      @rule = rule
    end

    def status
      rule_return.validation_state
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fastlane_hotfix-2.165.1 precheck/lib/precheck/rule_check_result.rb
fastlane_hotfix-2.165.0 precheck/lib/precheck/rule_check_result.rb
fastlane_hotfix-2.187.0 precheck/lib/precheck/rule_check_result.rb