On Sun, Dec 2, 2012 at 5:18 PM, Pierre-Andre M. <[email protected]> wrote:
> That syntax doesnt appear to work:
>
> 1.9.3-p194 :016 >
> URI.parse("https://api.github.com/repos/orgName/final").path.
> 1.9.3-p194 :017 >
> URI.parse("https://api.github.com/repos/orgName/final").path..
> 1.9.3-p194 :018 >
> URI.parse("https://api.github.com/repos/orgName/final").path...
> 1.9.3-p194 :019 >
> URI.parse("https://api.github.com/repos/orgName/final").path....
Yes, of course. That's not even valid Ruby code.
$ ruby -ce 'URI.parse("https://api.github.com/repos/orgName/final").path.'
-e:1: syntax error, unexpected $end
$ ruby -ce 'URI.parse("https://api.github.com/repos/orgName/final").path..'
-e:1: syntax error, unexpected $end
But this is not what Hassan suggested.
Cheers
robert
--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/
-- You received this message because you are subscribed to the Google Groups
ruby-talk-google group. To post to this group, send email to
[email protected]. To unsubscribe from this group, send email
to [email protected]. For more options, visit this
group at https://groups.google.com/d/forum/ruby-talk-google?hl=en