Module: Rea

Defined in:
lib/rea.rb,
lib/rea/engine.rb,
lib/rea/settings.rb,
app/models/rea/rea.rb,
lib/rea/application.rb,
app/models/rea/group.rb,
app/models/rea/category.rb,
lib/rea/active_record_ext.rb,
app/models/rea/classification.rb,
app/models/rea/entities_group.rb,
app/models/rea/categories_entity.rb,
app/helpers/rea/application_helper.rb,
app/controllers/rea/application_controller.rb

Defined Under Namespace

Modules: ActiveRecordExt, ApplicationHelper, Rea, Settings Classes: Application, ApplicationController, CategoriesEntity, Category, Classification, Engine, EntitiesGroup, Group, InstallGenerator

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.applicationObject

Returns the value of attribute application.



16
17
18
# File 'lib/rea.rb', line 16

def application
  @application
end

Class Method Details

.setup {|application| ... } ⇒ Object

Yields:



22
23
24
25
26
27
# File 'lib/rea.rb', line 22

def setup
  puts "[REA]Setup...."
  application.setup!
  yield(application)
  application.prepare!
end