Class: GraphdocRuby::RakeTask
- Inherits:
-
Object
- Object
- GraphdocRuby::RakeTask
- Includes:
- Rake::DSL
- Defined in:
- lib/graphdoc-ruby/rake_task.rb
Instance Method Summary collapse
-
#initialize ⇒ RakeTask
constructor
Set the parameters of this task by passing keyword arguments or assigning attributes inside the block.
Constructor Details
#initialize ⇒ RakeTask
Set the parameters of this task by passing keyword arguments or assigning attributes inside the block
9 10 11 12 13 14 15 16 17 |
# File 'lib/graphdoc-ruby/rake_task.rb', line 9 def initialize dependencies = if defined?(::Rails) [:environment] else [] end define_tasks(dependencies) end |