Class: Dokkit::TaskLib::Base
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- Dokkit::TaskLib::Base
- Defined in:
- lib/dokkit/tasklib/base.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#ns ⇒ Object
readonly
Returns the value of attribute ns.
Instance Method Summary collapse
-
#initialize(ns) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(ns) ⇒ Base
Returns a new instance of Base.
20 21 22 23 |
# File 'lib/dokkit/tasklib/base.rb', line 20 def initialize(ns) @ns = ns @logger ||= Logger.new(STDOUT) end |
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
18 19 20 |
# File 'lib/dokkit/tasklib/base.rb', line 18 def logger @logger end |
#ns ⇒ Object (readonly)
Returns the value of attribute ns.
17 18 19 |
# File 'lib/dokkit/tasklib/base.rb', line 17 def ns @ns end |