Skip to content

Instantly share code, notes, and snippets.

@toamitkumar
Created March 19, 2012 01:33
Show Gist options
  • Save toamitkumar/2089450 to your computer and use it in GitHub Desktop.
Save toamitkumar/2089450 to your computer and use it in GitHub Desktop.
class SomeRandomClass
def caller
string = ""
string = first(string)
string = second(string)
third(string)
end
def first(string)
# update the string
end
def second(string)
# if the string is updated, update it again
# else initialize and update
end
def third(string)
# if the string is not updated I am gonna fail silently
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment