Class: Object

Inherits:
BasicObject
Defined in:
lib/rshade/core_extensions/object/reveal.rb

Instance Method Summary collapse

Instance Method Details

#reveal(&block) ⇒ Object



2
3
4
5
6
7
# File 'lib/rshade/core_extensions/object/reveal.rb', line 2

def reveal(&block)
  trace = ::RShade::Trace.reveal do
    block.call
  end
  trace.show
end