Class: Ruby::Rego::AST::Rule::Definition
- Inherits:
-
Struct
- Object
- Struct
- Ruby::Rego::AST::Rule::Definition
- Defined in:
- lib/ruby/rego/ast/rule.rb
Overview
Bundles rule components for storage.
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#default_value ⇒ Object
Returns the value of attribute default_value.
-
#else_clause ⇒ Object
Returns the value of attribute else_clause.
-
#head ⇒ Object
Returns the value of attribute head.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
13 14 15 |
# File 'lib/ruby/rego/ast/rule.rb', line 13 def body @body end |
#default_value ⇒ Object
Returns the value of attribute default_value
13 14 15 |
# File 'lib/ruby/rego/ast/rule.rb', line 13 def default_value @default_value end |
#else_clause ⇒ Object
Returns the value of attribute else_clause
13 14 15 |
# File 'lib/ruby/rego/ast/rule.rb', line 13 def else_clause @else_clause end |
#head ⇒ Object
Returns the value of attribute head
13 14 15 |
# File 'lib/ruby/rego/ast/rule.rb', line 13 def head @head end |