Module: Dostuff::Pirate

Defined in:
lib/dostuff/pirate.rb

Instance Method Summary collapse

Instance Method Details

#to_pirateObject



6
7
8
9
# File 'lib/dostuff/pirate.rb', line 6

def to_pirate 
    uri = URI.parse("http://isithackday.com/arrpi.php?text="+URI.escape(self))
    return Net::HTTP.get_print(uri)
end