Module: RTM::Rails
- Defined in:
- lib/rtm/rails.rb
Overview
The RTM-Rails Gem largely remodels the Rails startup sequence and initializes the application TopicMaps TopicMap TopicMap from the topicmaps configuration file (Defaults to config/topicmaps.yml
). The TopicMap s defined there can then be accessed using TM bla identifier
Defined Under Namespace
Classes: Configuration, Initializer
Class Method Summary collapse
-
.configuration ⇒ Object
The Configuration instance used to configure the Rails environment.
- .configuration=(configuration) ⇒ Object
- .initialized=(initialized) ⇒ Object
- .initialized? ⇒ Boolean
Class Method Details
.configuration ⇒ Object
The Configuration instance used to configure the Rails environment
18 19 20 |
# File 'lib/rtm/rails.rb', line 18 def configuration @@configuration end |
.configuration=(configuration) ⇒ Object
22 23 24 |
# File 'lib/rtm/rails.rb', line 22 def configuration=(configuration) @@configuration = configuration end |
.initialized=(initialized) ⇒ Object
30 31 32 |
# File 'lib/rtm/rails.rb', line 30 def initialized=(initialized) @initialized ||= initialized end |
.initialized? ⇒ Boolean
26 27 28 |
# File 'lib/rtm/rails.rb', line 26 def initialized? @initialized || false end |