To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!More about adding a collaborator
Extract Local Variable :RExtractLocalVariable
Takes an expression that is being used directly and assigns it to a local variable first
- Extract a local variable from a magic number
I have the following code:
class Foo def bar "some magic number" end end
I select "some magic number" and execute:
- I fill in the parameter "local_variable"
I should see:
class Foo def bar local_variable = "some magic number" local_variable end end
Last published over 5 years ago by despo.