Module: Peteshow

Defined in:
lib/peteshow.rb,
lib/peteshow/config.rb,
lib/peteshow/engine.rb,
lib/peteshow/helpers.rb

Defined Under Namespace

Modules: Helpers Classes: Config, Engine, Railtie

Class Method Summary collapse

Class Method Details

.configObject



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

def self.config
  @config ||= Config.new
end

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

Yields:



12
13
14
# File 'lib/peteshow.rb', line 12

def self.configure
  yield self.config
end