class Wonk::PolicyValidators::AwsEC2::RuleResult
Attributes
captures[R]
Public Class Methods
new(successful:, captures: nil)
click to toggle source
# File lib/wonk/policy_validators/aws_ec2/rule_result.rb, line 7 def initialize(successful:, captures: nil) @successful = !!successful @captures = IceNine.deep_freeze((captures || []).deep_dup) end
Public Instance Methods
success?()
click to toggle source
# File lib/wonk/policy_validators/aws_ec2/rule_result.rb, line 13 def success? @successful end