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


Groups > comp.lang.ruby > #7260

Re: A question about range operator with string operands

Newsgroups comp.lang.ruby
Date 2016-06-03 00:24 -0700
References <3a5be55a-18b8-45fd-83ad-ec6dac81d299@googlegroups.com> <nipc81$e6c$1@news.albasani.net>
Message-ID <53c9df8a-8b12-4dd2-b49c-8f43ffd1c31b@googlegroups.com> (permalink)
Subject Re: A question about range operator with string operands
From Naotaka Hirano <n-hirano@computex.co.jp>

Show all headers | View raw


Hello, Mr. Christian Schweingruber,

Thank you for your help.

I haven't yet reached a complete understanding of String.upto's behavior,
especially at End conditions, but I feel my sight is getting clear.

Anyhow, to avoid confusion and as a quick solution,
I think I usually shouldn't use such irregular operands.

I'll read the documents more carefully. Maybe the source code too.

Regards,
Naotaka

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


Thread

A question about range operator with string operands Naotaka Hirano <n-hirano@computex.co.jp> - 2016-06-01 23:14 -0700
  Re: A question about range operator with string operands Christian Schweingruber <chrigu@lorraine.ch> - 2016-06-02 15:27 +0200
    Re: A question about range operator with string operands Naotaka Hirano <n-hirano@computex.co.jp> - 2016-06-03 00:24 -0700

csiph-web