Module: Crummy

Defined in:
lib/crummy.rb,
lib/crummy/railtie.rb,
lib/crummy/version.rb,
lib/crummy/action_view.rb,
lib/crummy/action_controller.rb,
lib/crummy/standard_renderer.rb

Defined Under Namespace

Modules: ControllerMethods, ViewMethods Classes: Configuration, Railtie, StandardRenderer

Constant Summary collapse

MAJOR =
1
MINOR =
8
PATCH =
0
VERSION =
[MAJOR, MINOR, PATCH].join('.')

Class Method Summary collapse

Class Method Details

.configurationObject



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

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



7
8
9
# File 'lib/crummy.rb', line 7

def self.configure
  yield configuration
end