Class: Liteguard::GuardDecision

Inherits:
Data
  • Object
show all
Defined in:
lib/liteguard/types.rb

Overview

The detailed result of evaluating a guard.

Instance Attribute Summary collapse

Instance Attribute Details

#adoptedObject (readonly)

Returns the value of attribute adopted

Returns:

  • (Object)

    the current value of adopted



32
33
34
# File 'lib/liteguard/types.rb', line 32

def adopted
  @adopted
end

#is_openObject (readonly)

Returns the value of attribute is_open

Returns:

  • (Object)

    the current value of is_open



32
33
34
# File 'lib/liteguard/types.rb', line 32

def is_open
  @is_open
end

#matched_rule_indexObject (readonly)

Returns the value of attribute matched_rule_index

Returns:

  • (Object)

    the current value of matched_rule_index



32
33
34
# File 'lib/liteguard/types.rb', line 32

def matched_rule_index
  @matched_rule_index
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



32
33
34
# File 'lib/liteguard/types.rb', line 32

def name
  @name
end

#propertiesObject (readonly)

Returns the value of attribute properties

Returns:

  • (Object)

    the current value of properties



32
33
34
# File 'lib/liteguard/types.rb', line 32

def properties
  @properties
end

#reasonObject (readonly)

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



32
33
34
# File 'lib/liteguard/types.rb', line 32

def reason
  @reason
end