Module: Inboxes

Defined in:
lib/inboxes.rb,
lib/inboxes/engine.rb,
lib/inboxes/railtie.rb,
lib/inboxes/version.rb,
lib/inboxes/active_record_extension.rb,
lib/generators/inboxes/views_generator.rb,
lib/generators/inboxes/install_generator.rb,
lib/generators/inboxes/upgrade_discussible_generator.rb

Defined Under Namespace

Modules: ActiveRecordExtension, Generators Classes: BaseController, Configuration, DiscussionsController, Engine, MessagesController, Railtie, SpeakersController

Constant Summary collapse

VERSION =
"0.2.2"

Class Method Summary collapse

Class Method Details

.configObject

Global settings for Inboxes



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

def self.config
  @config
end

.configure {|@config ||= Inboxes::Configuration.new| ... } ⇒ Object

Yields:



9
10
11
# File 'lib/inboxes.rb', line 9

def self.configure(&block)
  yield @config ||= Inboxes::Configuration.new
end