Skip to content

Instantly share code, notes, and snippets.

/test.rb Secret

Created November 18, 2013 18:10
Show Gist options
  • Save anonymous/f896a79f927036e8a298 to your computer and use it in GitHub Desktop.
Save anonymous/f896a79f927036e8a298 to your computer and use it in GitHub Desktop.
def get_name(url)
@name = @url[/[^.]+/]
puts "@name URL DE L INSTANCE"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment