Class: GreenPepper::GreenPepperTask
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- GreenPepper::GreenPepperTask
- Defined in:
- lib/greenpepper/greenpeppertask.rb
Instance Attribute Summary collapse
-
#greenpepper_path ⇒ Object
Returns the value of attribute greenpepper_path.
-
#result_dir ⇒ Object
Returns the value of attribute result_dir.
-
#spec_dir ⇒ Object
Returns the value of attribute spec_dir.
-
#spec_name ⇒ Object
Returns the value of attribute spec_name.
Instance Method Summary collapse
-
#initialize(name) {|_self| ... } ⇒ GreenPepperTask
constructor
A new instance of GreenPepperTask.
Constructor Details
#initialize(name) {|_self| ... } ⇒ GreenPepperTask
Returns a new instance of GreenPepperTask.
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/greenpepper/greenpeppertask.rb', line 15 def initialize(name) @name = name @spec_dir = 'greenpepper/specifications' @spec_name = '**/*.html' @result_dir = 'greenpepper/results' @greenpepper_path = nil yield self if block_given? load_config define end |
Instance Attribute Details
#greenpepper_path ⇒ Object
Returns the value of attribute greenpepper_path.
13 14 15 |
# File 'lib/greenpepper/greenpeppertask.rb', line 13 def greenpepper_path @greenpepper_path end |
#result_dir ⇒ Object
Returns the value of attribute result_dir.
13 14 15 |
# File 'lib/greenpepper/greenpeppertask.rb', line 13 def result_dir @result_dir end |
#spec_dir ⇒ Object
Returns the value of attribute spec_dir.
13 14 15 |
# File 'lib/greenpepper/greenpeppertask.rb', line 13 def spec_dir @spec_dir end |
#spec_name ⇒ Object
Returns the value of attribute spec_name.
13 14 15 |
# File 'lib/greenpepper/greenpeppertask.rb', line 13 def spec_name @spec_name end |