Module: Lookout::Stub

Defined in:
lib/lookout/stub.rb

Defined Under Namespace

Classes: Method, Methods, Object

Class Method Summary collapse

Class Method Details

.methodsObject



9
10
11
12
13
14
15
16
# File 'lib/lookout/stub.rb', line 9

def methods
  methods = Methods.new
  begin
    yield methods
  ensure
    methods.undefine
  end
end