Class: Rage::Configuration::CodeLoader
- Inherits:
-
Object
- Object
- Rage::Configuration::CodeLoader
- Defined in:
- lib/rage/configuration.rb
Instance Attribute Summary collapse
-
#reload_paths ⇒ Object
writeonly
Specify additional paths to watch for changes in development.
Instance Attribute Details
#reload_paths=(paths) ⇒ Object
Specify additional paths to watch for changes in development.
1183 1184 1185 1186 1187 |
# File 'lib/rage/configuration.rb', line 1183 def reload_paths=(paths) @reload_paths = Array(paths).map do |path| path.is_a?(Pathname) ? path : Pathname.new(path) end end |