Class: RackEnvironment::Task
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- RackEnvironment::Task
- Defined in:
- lib/rack_environment/task.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize(options = {}) ⇒ Task
Returns a new instance of Task.
7 8 9 10 11 12 13 |
# File 'lib/rack_environment/task.rb', line 7 def initialize(={}) rack_environment = RackEnvironment.new() task :rack_environment do rack_environment.update_environment! end end |