Class: Tap::Support::Gems::RakeManifest

Inherits:
Manifest show all
Defined in:
lib/tap/support/gems/rake.rb

Constant Summary

Constants inherited from Manifest

Manifest::SEARCH_REGEXP

Instance Attribute Summary

Attributes inherited from Manifest

#entries, #env, #reader

Instance Method Summary collapse

Methods inherited from Manifest

#[], #bind, #bound?, #build, #built?, #each, #empty?, #inspect, intern, #reset, #search, #unbind

Methods included from Minimap

#minimap, #minimatch

Constructor Details

#initialize(env) ⇒ RakeManifest

Returns a new instance of RakeManifest.



8
9
10
11
12
# File 'lib/tap/support/gems/rake.rb', line 8

def initialize(env)
  @env = env
  rake = ::Rake.application
  super(rake.have_rakefile(env.root.root) ? [rake.instance_variable_get(:@rakefile)] : [])
end