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



10
11
12
# File 'lib/liteguard/types.rb', line 10

def enabled
  @enabled
end

#operatorObject (readonly)

Returns the value of attribute operator

Returns:

  • (Object)

    the current value of operator



10
11
12
# File 'lib/liteguard/types.rb', line 10

def operator
  @operator
end

#property_nameObject (readonly)

Returns the value of attribute property_name

Returns:

  • (Object)

    the current value of property_name



10
11
12
# File 'lib/liteguard/types.rb', line 10

def property_name
  @property_name
end

#resultObject (readonly)

Returns the value of attribute result

Returns:

  • (Object)

    the current value of result



10
11
12
# File 'lib/liteguard/types.rb', line 10

def result
  @result
end

#valuesObject (readonly)

Returns the value of attribute values

Returns:

  • (Object)

    the current value of values



10
11
12
# File 'lib/liteguard/types.rb', line 10

def values
  @values
end