Class: Wongi::Engine::DSL::Action::BaseAction

Inherits:
Object
  • Object
show all
Includes:
CoreExt
Defined in:
lib/wongi-engine/dsl/action/base_action.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from CoreExt

included

Instance Attribute Details

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/wongi-engine/dsl/action/base_action.rb', line 5

def name
  @name
end

#productionObject

Returns the value of attribute production.



5
6
7
# File 'lib/wongi-engine/dsl/action/base_action.rb', line 5

def production
  @production
end

#reteObject

Returns the value of attribute rete.



5
6
7
# File 'lib/wongi-engine/dsl/action/base_action.rb', line 5

def rete
  @rete
end

#ruleObject

Returns the value of attribute rule.



5
6
7
# File 'lib/wongi-engine/dsl/action/base_action.rb', line 5

def rule
  @rule
end

Instance Method Details

#overlayObject



7
8
9
# File 'lib/wongi-engine/dsl/action/base_action.rb', line 7

def overlay
  rete.current_overlay
end