Class: RjsRails::Sources
- Inherits:
-
Object
- Object
- RjsRails::Sources
- Defined in:
- lib/rjs-rails/sources.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
writeonly
Sets the attribute env.
Instance Method Summary collapse
-
#initialize(env = nil) ⇒ Sources
constructor
A new instance of Sources.
- #paths ⇒ Object
Constructor Details
#initialize(env = nil) ⇒ Sources
Returns a new instance of Sources.
6 7 8 |
# File 'lib/rjs-rails/sources.rb', line 6 def initialize(env = nil) @env = env end |
Instance Attribute Details
#env=(value) ⇒ Object
Sets the attribute env
4 5 6 |
# File 'lib/rjs-rails/sources.rb', line 4 def env=(value) @env = value end |
Instance Method Details
#paths ⇒ Object
10 11 12 |
# File 'lib/rjs-rails/sources.rb', line 10 def paths @paths ||= load_paths end |