Object
Copyright 2003, 2004, 2005, 2006, 2007 by Jim Weirich (jim@weirichhouse.org). All rights reserved. Permission is granted for use, copying, modification, distribution, and distribution of modified versions of this work as long as the above copyright notice is included.
+++
# File lib/flexmock/deprecated_methods.rb, line 14
14: def flexmock_deprecate(*method_names)
15: method_names.each do |method_name|
16: eval_line = __LINE__ + 1
17: module_eval %{
18: def #{method_name}(*args)
19: $stderr.puts "#{method_name} is deprecated, use flex#{method_name} instead"
20: flex#{method_name}(*args)
21: end
22: }, __FILE__, eval_line
23: end
24: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.