Class: Spellr::RakeTask
- Inherits:
-
Object
- Object
- Spellr::RakeTask
- Includes:
- Rake::DSL
- Defined in:
- lib/spellr/rake_task.rb
Class Method Summary collapse
-
.generate_task(name = :spellr, *default_argv) ⇒ Object
rubocop:disable.
Instance Method Summary collapse
-
#initialize(name, default_argv) ⇒ RakeTask
constructor
A new instance of RakeTask.
Constructor Details
#initialize(name, default_argv) ⇒ RakeTask
Returns a new instance of RakeTask.
16 17 18 19 20 21 22 |
# File 'lib/spellr/rake_task.rb', line 16 def initialize(name, default_argv) @name = name @default_argv = default_argv describe_task define_task end |
Class Method Details
.generate_task(name = :spellr, *default_argv) ⇒ Object
rubocop:disable
10 11 12 13 14 |
# File 'lib/spellr/rake_task.rb', line 10 def self.generate_task(name = :spellr, *default_argv) # rubocop:disable new(name, default_argv) name end |