Class: EenieMeenie::Assignment

Inherits:
Base
  • Object
show all
Defined in:
lib/eenie_meenie/assignment.rb

Instance Method Summary collapse

Methods inherited from Base

#load_option, #load_options

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(options)
  load_options(:groups, :member_class, options)
  #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