General

Profile

bogdan (Bogdan Gusiev)

  • Login: bogdan
  • Email: agresso@gmail.com
  • Registered on: 04/16/2012
  • Last sign in: 06/10/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

06/11/2026

09:59 AM Ruby Feature #22100: Native Union Types in Ruby

> Why not?
> ...
That's fair argument. This proposal only makes sense if we plan a better future for typehinting.
I imagen the following happen too:
``` ruby
Element = Integer | String | nil
value.is?(Element | Array[Element] ...
bogdan (Bogdan Gusiev)

06/10/2026

03:15 PM Ruby Feature #22100 (Feedback): Native Union Types in Ruby

## Summary
Add a `UnionType` class to Ruby's standard library and extend `Class#|` to
construct one, enabling expressive, composable type-checking syntax throughout
the language.
```ruby
String | Integer # => UnionTyp...
bogdan (Bogdan Gusiev)

03/16/2018

01:27 PM Ruby Bug #14611 (Closed): Exotic method parameters bug
Consider the following code:
~~~ ruby
def test(_, x, *_)
x
end
test(1,2,3) # => nil
~~~
By some reason second parameter is nil when the rest of parameters declared as not used.
bogdan (Bogdan Gusiev)

12/28/2012

10:50 PM Ruby Bug #7632 (Closed): IRB autocompletion bug
Steps to reproduce:
* Launch IRB
* type: (&:)
* press tab
Result: irb crashes
Ruby version: ruby-1.9.3-p194
/Users/bogdan/.rvm/gems/ruby-1.9.3-p194/gems/wirble-0.1.3/lib/wirble.rb:95:in `save_history': undefined method `size' f...
bogdan (Bogdan Gusiev)

Also available in: Atom