Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #7371

Re: how many diffrent between ruby 1.8 vs 2.3?

From neverland@GOODEVEca.net (Pete)
Newsgroups comp.lang.ruby
Subject Re: how many diffrent between ruby 1.8 vs 2.3?
Date 2017-09-09 19:34 +0000
Organization Very little...
Message-ID <op1fp1$1glo$1@gioia.aioe.org> (permalink)
References <c5476fda-3f7b-4207-ba03-b70f452b5774@googlegroups.com> <1f82c7e4-8f25-45ea-858f-da97684ebf58@googlegroups.com>

Show all headers | View raw


[Sorry, this is a somewhat aging thread, but I just read it now...]

In article <1f82c7e4-8f25-45ea-858f-da97684ebf58@googlegroups.com>,
Jesús Burgos  <jburmac@gmail.com> wrote:

>* This is a valid method definition in 1.9 but not in 1.8:
>
>```
>def method argument
>  # stuff
>end
>```
Eh...?  I have Ruby 1.8.4 on one of my older machines, and I copy/pasted
the above into it.  It compiles fine -- and can be invoked: e.g.
"method 11" (returning a nil result).  Am I missing your meaning?

Re the original query, I still find my 'Pickaxe' book for 1.8 an
invaluable reference, even for Ruby 2.2.  It's the new [absurd (:-/)]
behaviour of strings that I have to keep diving to the web to sort out.

	-- Pete --

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

how many diffrent between ruby 1.8 vs 2.3? pug breaker <pug1270@gmail.com> - 2017-07-20 18:51 -0700
  Re: how many diffrent between ruby 1.8 vs 2.3? Jesús Burgos <jburmac@gmail.com> - 2017-07-21 01:26 -0700
    Re: how many diffrent between ruby 1.8 vs 2.3? neverland@GOODEVEca.net (Pete) - 2017-09-09 19:34 +0000
  Re: how many diffrent between ruby 1.8 vs 2.3? soyeomul@doraji.xyz (Byung-Hee HWANG (황병희, 黃炳熙)) - 2017-10-08 21:47 +0900

csiph-web