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
# File 'lib/lookout/stub.rb', line 9

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