Class: PyramidScheme::Tasks
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- PyramidScheme::Tasks
- Defined in:
- lib/pyramid_scheme/tasks.rb
Overview
PyramidScheme::Tasks.new(‘path/to/configuration/yml’)
Instance Attribute Summary collapse
-
#yml_path ⇒ Object
readonly
Returns the value of attribute yml_path.
Instance Method Summary collapse
-
#initialize(yml_path = nil) ⇒ Tasks
constructor
A new instance of Tasks.
Constructor Details
#initialize(yml_path = nil) ⇒ Tasks
Returns a new instance of Tasks.
6 7 8 9 10 11 12 |
# File 'lib/pyramid_scheme/tasks.rb', line 6 def initialize(yml_path = nil) unless yml_path.nil? @yml_path = yml_path configure_with_yml end define end |
Instance Attribute Details
#yml_path ⇒ Object (readonly)
Returns the value of attribute yml_path.
4 5 6 |
# File 'lib/pyramid_scheme/tasks.rb', line 4 def yml_path @yml_path end |