Class: Flexr::RakeTask
- Inherits:
-
Object
- Object
- Flexr::RakeTask
- Defined in:
- lib/flexr/rake_task.rb
Instance Attribute Summary collapse
-
#output ⇒ Object
Returns the value of attribute output.
-
#spec ⇒ Object
Returns the value of attribute spec.
-
#warn_as_error ⇒ Object
Returns the value of attribute warn_as_error.
Instance Method Summary collapse
-
#initialize(name = :flexr) {|_self| ... } ⇒ RakeTask
constructor
A new instance of RakeTask.
Constructor Details
#initialize(name = :flexr) {|_self| ... } ⇒ RakeTask
Returns a new instance of RakeTask.
11 12 13 14 15 16 |
# File 'lib/flexr/rake_task.rb', line 11 def initialize(name = :flexr) @name = name @warn_as_error = false yield self if block_given? define_task end |
Instance Attribute Details
#output ⇒ Object
Returns the value of attribute output.
9 10 11 |
# File 'lib/flexr/rake_task.rb', line 9 def output @output end |
#spec ⇒ Object
Returns the value of attribute spec.
9 10 11 |
# File 'lib/flexr/rake_task.rb', line 9 def spec @spec end |
#warn_as_error ⇒ Object
Returns the value of attribute warn_as_error.
9 10 11 |
# File 'lib/flexr/rake_task.rb', line 9 def warn_as_error @warn_as_error end |