Class: Ruby::Rego::Environment::State

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby/rego/environment.rb

Overview

Encapsulates environment state for pooling.

Instance Attribute Summary collapse

Instance Attribute Details

#builtin_registryObject

Returns the value of attribute builtin_registry

Returns:

  • (Object)

    the current value of builtin_registry



18
19
20
# File 'lib/ruby/rego/environment.rb', line 18

def builtin_registry
  @builtin_registry
end

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



18
19
20
# File 'lib/ruby/rego/environment.rb', line 18

def data
  @data
end

#inputObject

Returns the value of attribute input

Returns:

  • (Object)

    the current value of input



18
19
20
# File 'lib/ruby/rego/environment.rb', line 18

def input
  @input
end

#rulesObject

Returns the value of attribute rules

Returns:

  • (Object)

    the current value of rules



18
19
20
# File 'lib/ruby/rego/environment.rb', line 18

def rules
  @rules
end