Skip to content

Instantly share code, notes, and snippets.

@jwo
Created September 10, 2014 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwo/bd989323a86863285958 to your computer and use it in GitHub Desktop.
Save jwo/bd989323a86863285958 to your computer and use it in GitHub Desktop.
think-code-evaluate-refactor.rb
class Brain
def think; end
def code ; end
alias evaluate think
alias refactor code
end
brain = Brain.new
%i(
think
code
evaluate
refactor
).map { |m| brain.send(m) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment