Module: ClAdmin

Defined in:
lib/cl_admin.rb,
lib/cl_admin/engine.rb,
lib/cl_admin/version.rb,
lib/cl_admin/resource.rb,
lib/cl_admin/configuration.rb,
lib/cl_admin/resource/field.rb,
app/helpers/cl_admin/resources_helper.rb,
app/helpers/cl_admin/application_helper.rb,
app/controllers/cl_admin/dashboard_controller.rb,
app/controllers/cl_admin/resources_controller.rb,
app/controllers/cl_admin/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, ResourcesHelper Classes: ApplicationController, Configuration, DashboardController, Engine, Resource, ResourcesController

Constant Summary collapse

VERSION =
"0.0.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



11
12
13
# File 'lib/cl_admin.rb', line 11

def configuration
  @configuration
end

Class Method Details

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

Yields:



14
15
16
17
# File 'lib/cl_admin.rb', line 14

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