Module: GiftWrap

Defined in:
lib/gift_wrap.rb,
lib/gift_wrap/version.rb,
lib/gift_wrap/presenter.rb,
lib/gift_wrap/configuration.rb,
lib/gift_wrap/active_record_presenter.rb

Defined Under Namespace

Modules: ActiveRecordPresenter, Presenter Classes: Configuration

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configObject



3
4
5
# File 'lib/gift_wrap.rb', line 3

def self.config
  @config ||= GiftWrap::Configuration.new
end

.configure {|config| ... } ⇒ Object

Yields:



8
9
10
# File 'lib/gift_wrap.rb', line 8

def self.configure
  yield(config)
end