Skip to content

Instantly share code, notes, and snippets.

@jakewilkins

jakewilkins/1.rb Secret

Last active Mar 20, 2017
Embed
What would you like to do?
code for blog post
class SomethingImporter
def self.call(arg)
new(arg).call
end
def initialize(arg)
@arg = arg
end
def call
do_initial_things
do_secondary_things
finalize_some_things
validate_everything_went_well
end
private
...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.