Class: EenieMeenie::Assignment
- Defined in:
- lib/eenie_meenie/assignment.rb
Instance Method Summary collapse
- #execute! ⇒ Object
-
#initialize(options) ⇒ Assignment
constructor
A new instance of Assignment.
Methods inherited from Base
Constructor Details
#initialize(options) ⇒ Assignment
Returns a new instance of Assignment.
3 4 5 6 |
# File 'lib/eenie_meenie/assignment.rb', line 3 def initialize() (:groups, :member_class, ) #raise ArgumentError unless @member_class.respond_to?(:experimental_group) end |
Instance Method Details
#execute! ⇒ Object
8 9 10 |
# File 'lib/eenie_meenie/assignment.rb', line 8 def execute! group = assign end |