Module: CloudspaceChatService
- Defined in:
- lib/cloudspace_chat_service/config.rb,
lib/cloudspace_chat_service/engine.rb,
lib/cloudspace_chat_service/railtie.rb,
lib/generators/cloudspace_chat_service/install_generator.rb
Defined Under Namespace
Modules: Generators Classes: Configuration, Engine, Railtie
Class Method Summary collapse
- .config ⇒ Object
-
.configure {|@config ||= CloudspaceChatService::Configuration.new| ... } ⇒ Object
create new configs by passing a block with the config assignment.
Class Method Details
.config ⇒ Object
11 12 13 |
# File 'lib/cloudspace_chat_service/config.rb', line 11 def self.config @config end |
.configure {|@config ||= CloudspaceChatService::Configuration.new| ... } ⇒ Object
create new configs by passing a block with the config assignment
7 8 9 |
# File 'lib/cloudspace_chat_service/config.rb', line 7 def self.configure(&block) yield @config ||= CloudspaceChatService::Configuration.new end |