RenamerMock
#options
#opt, #opt_if
22 23 24
# File 'lib/renamer.rb', line 22 def rename_functions methods.grep(/^rename_/) end
16 17 18 19 20
# File 'lib/renamer.rb', line 16 def run(name, options, &block) @result_proc = block @options = options method(name).call end