Class: Object

Inherits:
BasicObject
Defined in:
lib/looksee/shortcuts.rb

Instance Method Summary collapse

Instance Method Details

#dump_lookup_path(*args) ⇒ Object

Dump the lookup path to standard output, and return self.

Good for stuffing in a call chain.

(Added by Looksee.)



50
51
52
53
# File 'lib/looksee/shortcuts.rb', line 50

def dump_lookup_path(*args)
  p lookup_path(*args)
  self
end

#lookup_path(*args) ⇒ Object

Call Looksee.lookup_path on this object.

(Added by Looksee.)



39
40
41
# File 'lib/looksee/shortcuts.rb', line 39

def lookup_path(*args)
  Looksee.lookup_path(self, *args)
end