Class: Dokkit::TaskLib::Base

Inherits:
Rake::TaskLib
  • Object
show all
Defined in:
lib/dokkit/tasklib/base.rb

Direct Known Subclasses

Clean, Render

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#loggerObject

Returns the value of attribute logger.



18
19
20
# File 'lib/dokkit/tasklib/base.rb', line 18

def logger
  @logger
end

#nsObject (readonly)

Returns the value of attribute ns.



17
18
19
# File 'lib/dokkit/tasklib/base.rb', line 17

def ns
  @ns
end