Class: TrianglePattern::RakeTask
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- TrianglePattern::RakeTask
- Includes:
- Rake::DSL
- Defined in:
- lib/triangle_pattern/rake_task.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#verbose ⇒ Object
readonly
Returns the value of attribute verbose.
Instance Method Summary collapse
-
#include(modules) ⇒ Object
Include module in instance.
- #instance_binding ⇒ Object
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
11 12 13 |
# File 'lib/triangle_pattern/rake_task.rb', line 11 def description @description end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
9 10 11 |
# File 'lib/triangle_pattern/rake_task.rb', line 9 def name @name end |
#verbose ⇒ Object (readonly)
Returns the value of attribute verbose.
13 14 15 |
# File 'lib/triangle_pattern/rake_task.rb', line 13 def verbose @verbose end |
Instance Method Details
#include(modules) ⇒ Object
Include module in instance
68 69 70 71 72 |
# File 'lib/triangle_pattern/rake_task.rb', line 68 def include(modules) modules = Array(modules) modules.each { |m| self.class.include m } end |
#instance_binding ⇒ Object
63 64 65 |
# File 'lib/triangle_pattern/rake_task.rb', line 63 def instance_binding binding end |