Module: Upmin

Defined in:
lib/upmin.rb,
lib/upmin/admin.rb,
lib/upmin/model.rb,
lib/upmin/query.rb,
lib/upmin/action.rb,
lib/upmin/engine.rb,
lib/upmin/errors.rb,
lib/upmin/railtie.rb,
lib/upmin/version.rb,
lib/upmin/attribute.rb,
lib/upmin/paginator.rb,
lib/upmin/parameter.rb,
lib/upmin/association.rb,
lib/upmin/configuration.rb,
lib/upmin/automatic_delegation.rb,
app/helpers/upmin/models_helper.rb,
app/helpers/upmin/application_helper.rb,
lib/generators/upmin/install_generator.rb,
app/controllers/upmin/models_controller.rb,
app/controllers/upmin/dashboard_controller.rb,
app/controllers/upmin/application_controller.rb

Defined Under Namespace

Modules: ActiveRecord, Admin, ApplicationHelper, AutomaticDelegation, DataMapper, Generators, ModelsHelper, Paginator, Railties Classes: Action, ApplicationController, ArgumentError, Association, Attribute, Configuration, DashboardController, Engine, InvalidAction, MissingArgument, MissingPartial, Model, ModelsController, Parameter, Query, Railtie, UninferrableAdminError, UninferrableSourceError, UnsupportedObjectMapper

Constant Summary collapse

VERSION =
"0.1.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



4
5
6
# File 'lib/upmin/configuration.rb', line 4

def configuration
  @configuration
end

Class Method Details

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

Yields:



10
11
12
# File 'lib/upmin/configuration.rb', line 10

def configure
  yield(configuration) if block_given?
end