Module: Basket::Batcher::ClassMethods
- Defined in:
- lib/basket/batcher.rb
Instance Method Summary collapse
Instance Method Details
#basket_options(args) ⇒ Object
8 9 10 |
# File 'lib/basket/batcher.rb', line 8 def (args) = args end |
#basket_options_hash ⇒ Object
12 13 14 15 16 17 |
# File 'lib/basket/batcher.rb', line 12 def raise Basket::Error, "You must specify the size of your basket!" if .nil? raise Basket::Error, "You must specify a size greater than 0" if [:size] <= 0 end |