Class: Yardstick::Rake::Measurement
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- Yardstick::Rake::Measurement
- Defined in:
- lib/yardstick/rake/measurement.rb
Overview
A rake task for measuring docs in a set of files
Instance Method Summary collapse
-
#initialize(name = :yardstick_measure, options = {}) {|config| ... } ⇒ Yardstick::Rake::Measurement
constructor
Initializes a Measurement task.
-
#yardstick_measure ⇒ undefined
Measure the documentation.
Constructor Details
#initialize(name = :yardstick_measure, options = {}) {|config| ... } ⇒ Yardstick::Rake::Measurement
Initializes a Measurement task
28 29 30 31 32 33 |
# File 'lib/yardstick/rake/measurement.rb', line 28 def initialize(name = :yardstick_measure, = {}, &block) @name = name @config = Config.coerce(, &block) define end |