Class: EenieMeenie::Assignment
- Inherits:
-
PayDirt::Base
- Object
- PayDirt::Base
- EenieMeenie::Assignment
- Defined in:
- lib/eenie_meenie/assignment.rb
Instance Method Summary collapse
- #execute! ⇒ Object
-
#initialize(options) ⇒ Assignment
constructor
A new instance of Assignment.
Constructor Details
#initialize(options) ⇒ Assignment
Returns a new instance of Assignment.
3 4 5 6 7 8 9 |
# File 'lib/eenie_meenie/assignment.rb', line 3 def initialize() = { class_rules: {} }.merge() (:member, :class_rules, :groups, :group_rules, ) end |
Instance Method Details
#execute! ⇒ Object
11 12 13 |
# File 'lib/eenie_meenie/assignment.rb', line 11 def execute! set_group_counts and return random_group end |