General

Profile

TiSer (Sergey Ti)

  • Login: TiSer
  • Registered on: 10/23/2018
  • Last sign in: 06/09/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

09/24/2019

07:08 PM Ruby master Bug #15244: Method #extname return empty string if filename is dot ('.')
Example from .NET:
(https://docs.microsoft.com/en-us/dotnet/api/system.io.path.getextension)
```
class Program
...
TiSer (Sergey Ti)

02/16/2019

08:01 AM Ruby master Bug #15244: Method #extname return empty string if filename is dot ('.')
Still present. TiSer (Sergey Ti)

11/22/2018

03:11 PM Ruby master Bug #15244: Method #extname return empty string if filename is dot ('.')
Still present. TiSer (Sergey Ti)

11/13/2018

02:39 PM Ruby master Bug #15244: Method #extname return empty string if filename is dot ('.')
This is still present. TiSer (Sergey Ti)

10/23/2018

12:42 PM Ruby master Bug #15244: Method #extname return empty string if filename is dot ('.')
ahorek (Pavel Rosický) wrote:
> IMO
> ```
> File.extname('..jpg')
> ```
> should be
> ```
> => ".jpg"
> ```
...
TiSer (Sergey Ti)
11:56 AM Ruby master Bug #15244: Method #extname return empty string if filename is dot ('.')
add one more example TiSer (Sergey Ti)
11:17 AM Ruby master Bug #15244 (Closed): Method #extname return empty string if filename is dot ('.')
### Example 1:
Current behaviour:
```
File.extname('..jpg')
=> ""
```
Expected behaviour:
```
File.extname...
TiSer (Sergey Ti)

Also available in: Atom