class Aws::Templates::Utils::Parametrized::Constraint::Condition::Equal
If value is equal to the condition then evaluate constraint
Attributes
expected[R]
Public Class Methods
new(expected)
click to toggle source
# File lib/aws/templates/utils/parametrized/constraint/condition.rb, line 35 def initialize(expected) @expected = expected end
Public Instance Methods
check(value, _)
click to toggle source
# File lib/aws/templates/utils/parametrized/constraint/condition.rb, line 39 def check(value, _) value == expected end