Class: Rails::Configuration
- Inherits:
-
Object
- Object
- Rails::Configuration
- Defined in:
- lib/rtml/init.rb
Instance Attribute Summary collapse
-
#controller_paths ⇒ Object
Returns the value of attribute controller_paths.
-
#view_path ⇒ Object
Returns the value of attribute view_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
27 28 29 30 |
# File 'lib/rtml/init.rb', line 27 def initialize @controller_paths = [File.join(RAILS_ROOT, 'controllers'), File.join(File.dirname(__FILE__), '../../builtin/controllers')] @view_path = File.join(RAILS_ROOT, 'views') end |
Instance Attribute Details
#controller_paths ⇒ Object
Returns the value of attribute controller_paths.
25 26 27 |
# File 'lib/rtml/init.rb', line 25 def controller_paths @controller_paths end |
#view_path ⇒ Object
Returns the value of attribute view_path.
25 26 27 |
# File 'lib/rtml/init.rb', line 25 def view_path @view_path end |