Class: Photish::Rake::Task
- Inherits:
-
Object
- Object
- Photish::Rake::Task
- Includes:
- Rake::DSL
- Defined in:
- lib/photish/rake/task.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(task_name = "photish", desc = "Run photish") {|_self| ... } ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize(task_name = "photish", desc = "Run photish") {|_self| ... } ⇒ Task
Returns a new instance of Task.
10 11 12 13 14 15 |
# File 'lib/photish/rake/task.rb', line 10 def initialize(task_name = "photish", desc = "Run photish") @task_name = task_name @desc = desc yield self if block_given? define_task end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
8 9 10 |
# File 'lib/photish/rake/task.rb', line 8 def end |