Class: RoCommands::Refactor

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

Instance Method Summary collapse

Methods inherited from Base

describe, method_added, meths, start, usage

Methods included from Bash

#_bash, #bash, #bash_lines, #bash_per, #bashc, err, #handle_path, out, status

Instance Method Details

#rename(from, to) ⇒ Object



5
6
7
8
# File 'lib/ro_commands/refactor.rb', line 5

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