Class: Rake::Promise::Fake

Inherits:
Object
  • Object
show all
Defined in:
lib/rake/opt/current_invocation_chain/patches/rake/promise.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFake

Returns a new instance of Fake.



30
31
32
33
# File 'lib/rake/opt/current_invocation_chain/patches/rake/promise.rb', line 30

def initialize
  @invocation_chain = nil
  @parent = nil
end

Instance Attribute Details

#invocation_chainObject

Returns the value of attribute invocation_chain.



28
29
30
# File 'lib/rake/opt/current_invocation_chain/patches/rake/promise.rb', line 28

def invocation_chain
  @invocation_chain
end

#parentObject (readonly)

Returns the value of attribute parent.



29
30
31
# File 'lib/rake/opt/current_invocation_chain/patches/rake/promise.rb', line 29

def parent
  @parent
end