Class: MethodLog::Scope::Null

Inherits:
MethodLog::Scope show all
Defined in:
lib/method_log/scope.rb

Instance Attribute Summary

Attributes inherited from MethodLog::Scope

#parent

Instance Method Summary collapse

Methods inherited from MethodLog::Scope

#define, #for, #method_identifier, #root, #singleton

Constructor Details

#initializeNull

Returns a new instance of Null.



4
5
6
# File 'lib/method_log/scope.rb', line 4

def initialize
  super('null')
end

Instance Method Details

#lookup(name) ⇒ Object



8
9
10
# File 'lib/method_log/scope.rb', line 8

def lookup(name)
  nil
end