Module: ActiveDuty::Boots::ClassMethods

Defined in:
lib/active_duty/boots.rb

Instance Method Summary collapse

Instance Method Details

#boots(*args) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/active_duty/boots.rb', line 21

def boots(*args)
  @_boots ||= []
  options = args.extract_options!
  args.each do |boot|
    _boots << { class_name: boot.to_s, options: options }
  end
end