Module: PivotalReporter

Defined in:
lib/pivotal_reporter.rb,
lib/pivotal_reporter/engine.rb,
lib/pivotal_reporter/version.rb,
app/helpers/pivotal_reporter/stories_helper.rb,
app/helpers/pivotal_reporter/application_helper.rb,
app/controllers/pivotal_reporter/stories_controller.rb,
app/controllers/pivotal_reporter/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, StoriesHelper Classes: ApplicationController, Engine, StoriesController

Constant Summary collapse

VERSION =
"0.7.1"

Class Method Summary collapse

Class Method Details

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

This is what I was trying to figure out

Yields:



14
15
16
17
18
19
20
# File 'lib/pivotal_reporter.rb', line 14

def self.config(&block)
  @@config ||= Engine::Configuration.new

  yield @@config if block

  return @@config
end