General

Profile

lovro-bikic (Lovro Bikić)

  • Login: lovro-bikic
  • Registered on: 05/21/2025
  • Last sign in: 06/01/2025

Issues

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

Activity

06/01/2025

02:03 PM Ruby Bug #21391: Inconsistent trailing slash behavior of File.join and Pathname#join with empty strings
Dan0042 (Daniel DeLorme) wrote in #note-2:
> It's not the only inconsistent behavior: (absolute and relative paths example)
To clarify, I don't expect the result of the two to be equivalent in all cases, it's clearly documented what ...
lovro-bikic (Lovro Bikić)
09:42 AM Ruby Bug #21391 (Open): Inconsistent trailing slash behavior of File.join and Pathname#join with empty strings
```ruby
File.join('/usr', '')
# => "/usr/"
Pathname.new('/usr').join('').to_s
# => "/usr" # no trailing slash
File.join('/usr', ' ')
# => "/usr/ "
Pathname.new('/usr').join(' ').to_s
# => "/usr/ "
```
`File.join` with a...
lovro-bikic (Lovro Bikić)

05/21/2025

11:01 PM Ruby Feature #21358 (Feedback): Advanced filtering support for #dig
Currently, `#dig` can be used to access nested data structures using "simple" keys, such as array indices or hash keys.
Real-world applications sometimes require non-trivial data access, for example, finding an item in an array based ...
lovro-bikic (Lovro Bikić)

Also available in: Atom