Class: Rails::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/rtml/init.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_pathsObject

Returns the value of attribute controller_paths.



25
26
27
# File 'lib/rtml/init.rb', line 25

def controller_paths
  @controller_paths
end

#view_pathObject

Returns the value of attribute view_path.



25
26
27
# File 'lib/rtml/init.rb', line 25

def view_path
  @view_path
end