Module: AwesomeO

Defined in:
lib/awesome_o.rb,
lib/awesome_o/cart.rb,
lib/awesome_o/item.rb,
lib/awesome_o/version.rb,
lib/awesome_o/configuration.rb,
lib/awesome_o/item_collection.rb

Defined Under Namespace

Classes: Cart, Configuration, Item, ItemCollection

Constant Summary collapse

VERSION =
'0.0.1'.freeze

Class Method Summary collapse

Class Method Details

.config {|@config| ... } ⇒ Object

Yields:



8
9
10
11
12
# File 'lib/awesome_o.rb', line 8

def self.config
  @config ||= Configuration.new
  yield @config if block_given?
  @config
end