General

Profile

abotalov (Andrei Botalov)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 4 4

Activity

01/31/2018

02:31 PM Ruby Feature #12656: Expand short paths with File.expand_path
This would be a good addition because "expand" means that the form should be long. abotalov (Andrei Botalov)

01/26/2018

04:29 PM Ruby Bug #14406 (Rejected): File.expand_path doesn't expand tilde inside Windows home directory
TMP environment variable on Windows is set to a name that contains a tilde. `File.expand_path` doesn't currently return an expanded name. I would expect it to do so as its documentation says:
"Converts a pathname to an absolute pathname...
abotalov (Andrei Botalov)

10/30/2017

12:27 PM Ruby Bug #14069 (Rejected): Document order of elements in Set
Hash enumerates values in the insertion order.
Set is built on Hash so it does the same.
However, this is currently believed to be a not documented implementation detail. See:
https://stackoverflow.com/a/14468621/841064
https://sta...
abotalov (Andrei Botalov)

02/25/2017

07:11 AM Ruby Bug #13249: Access modifiers don't have an effect inside class methods in Ruby >= 2.3
Well, ability to declare `private` methods inside class methods seems strange given that it's not possible to declare private methods inside instance methods:
~~~ ruby
class C
def foo
private def bar
end
end
end
C.n...
abotalov (Andrei Botalov)

02/24/2017

07:13 PM Ruby Bug #13249 (Closed): Access modifiers don't have an effect inside class methods in Ruby >= 2.3
Simple example:
~~~ ruby
class C
def self.foo
private
def bar
end
end
end
C.foo
C.new.bar
~~~
This code runs fine on Ruby 2.3 and Ruby 2.4. It raises NoMethodError on Ruby 2.2 and prior versions.
I would ...
abotalov (Andrei Botalov)

12/22/2013

08:47 PM Ruby Bug #9285 (Rejected): Exception message of Errno::ENOENT contains strings @ rb_sysopen and @ dir_initialize in Ruby 2.1
Exception message of Errno::ENOENT exception contains strings "@ rb_sysopen" or "@ dir_initialize" in Ruby 2.1.0-rc1. It doesn't contain them in Ruby 2.0. I would expect exception message not to contain those strings.
Example in Ruby ...
abotalov (Andrei Botalov)

Also available in: Atom