Module: MuckEngine

Defined in:
lib/muck-engine/populate.rb,
lib/muck-engine/json.rb,
lib/muck-engine/config.rb,
lib/muck-engine/engine.rb,
lib/muck-engine/flash_errors.rb,
lib/muck-engine/form_builder.rb,
lib/muck-engine/models/state.rb,
lib/muck-engine/models/country.rb,
lib/muck-engine/models/general.rb,
lib/muck-engine/mailers/general.rb,
lib/muck-engine/models/language.rb,
lib/muck-engine/test/models/helpers.rb,
lib/muck-engine/remote_photo_methods.rb,
lib/muck-engine/test/models/matchers.rb,
lib/muck-engine/controllers/application.rb,
lib/muck-engine/test/controllers/matchers.rb,
lib/muck-engine/test/models/matchers/sanitize_matcher.rb,
lib/muck-engine/test/controllers/matchers/role_matcher.rb,
lib/muck-engine/test/models/matchers/muck_matcher_base.rb,
lib/muck-engine/test/controllers/matchers/login_matcher.rb,
lib/muck-engine/test/models/matchers/scope_time_matchers.rb,
lib/muck-engine/test/models/matchers/scope_active_matchers.rb,
lib/muck-engine/test/models/matchers/scope_creator_matchers.rb,
lib/muck-engine/test/models/matchers/scope_ordinal_matchers.rb,
lib/muck-engine/test/models/matchers/scope_sorting_matchers.rb,
lib/muck-engine/test/models/matchers/nested_attribute_matcher.rb,
lib/muck-engine/test/models/matchers/scope_is_public_matchers.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Application, Controllers, FlashErrors, General, Mailers, Models, Populate, RemotePhotoMethods Classes: Configuration, Engine, FormBuilder, JsonParser

Class Method Summary collapse

Class Method Details

.configurationObject



5
6
7
8
# File 'lib/muck-engine/config.rb', line 5

def self.configuration
  # In case the user doesn't setup a configure block we can always return default settings:
  @configuration ||= Configuration.new
end

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

Yields:



10
11
12
13
# File 'lib/muck-engine/config.rb', line 10

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end