Class: Liteguard::Rule

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

Overview

A single rule condition within a Guard.

Instance Attribute Summary collapse

Instance Attribute Details

#enabledObject (readonly)

Returns the value of attribute enabled

Returns:

  • (Object)

    the current value of enabled



12
13
14
# File 'lib/liteguard/types.rb', line 12

def enabled
  @enabled
end

#operatorObject (readonly)

Returns the value of attribute operator

Returns:

  • (Object)

    the current value of operator



12
13
14
# File 'lib/liteguard/types.rb', line 12

def operator
  @operator
end

#property_nameObject (readonly)

Returns the value of attribute property_name

Returns:

  • (Object)

    the current value of property_name



12
13
14
# File 'lib/liteguard/types.rb', line 12

def property_name
  @property_name
end

#resultObject (readonly)

Returns the value of attribute result

Returns:

  • (Object)

    the current value of result



12
13
14
# File 'lib/liteguard/types.rb', line 12

def result
  @result
end

#valuesObject (readonly)

Returns the value of attribute values

Returns:

  • (Object)

    the current value of values



12
13
14
# File 'lib/liteguard/types.rb', line 12

def values
  @values
end