Class: Wongi::Engine::DSL::VariantRule

Inherits:
Rule
  • Object
show all
Defined in:
lib/wongi-engine/dsl/any_rule.rb

Instance Attribute Summary

Attributes inherited from Rule

#name

Instance Method Summary collapse

Methods inherited from Rule

#acceptors, #actions, #actions=, #conditions, #conditions=, #import_into, #install, section, sections

Methods included from Generated

create_dsl_method

Constructor Details

#initialize(name = nil) ⇒ VariantRule

Returns a new instance of VariantRule.



26
27
28
29
# File 'lib/wongi-engine/dsl/any_rule.rb', line 26

def initialize name = nil
  super
  @current_section = :forall
end