Class: RoCommands::Refactor

Inherits:
Base show all
Defined in:
lib/ro_commands/refactor.rb

Instance Method Summary collapse

Methods inherited from Base

describe, inherited, method_added, meths, start, usage

Methods included from Bash

#_bash, #add_time, #bash, #bash_capture, #bash_capture_array, #bash_lines, #bash_per, #bash_system, #bundle_exec, #err, err, #handle_path, #kernel_system, out, #out, #status, status

Instance Method Details

#rename(from, to) ⇒ Object



7
8
9
10
# File 'lib/ro_commands/refactor.rb', line 7

def rename(from, to)
  _rename(from, to)
  _rename(from.camelize, to.camelize)
end