valerauko (Balint Erdos)
- Login: valerauko
- Registered on: 06/02/2017
- Last sign in: 08/23/2017
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
08/23/2017
-
04:47 PM Ruby Bug #13837: Class attributes get overshadowed by local variables
- shevegen (Robert A. Heiler) wrote:
> Even the old pickaxe mentions that ruby may behave slightly unexpected
> ...
I still can't consider this correct behavior. Aren't the multi-line and the single-line ways of writing `if` supposed to ... -
09:37 AM Ruby Bug #13837 (Closed): Class attributes get overshadowed by local variables
- ~~~ ruby
irb(main):001:0> RUBY_VERSION
=> "2.4.1"
irb(main):002:0> class Foo
irb(main):003:1> attr_accessor :bar
irb(main):004:1> def initialize
irb(main):005:2> self.bar = 1
irb(main):006:2> end
irb(main):007:1> def ...
06/02/2017
-
04:40 PM Ruby Bug #13593: Addrinfo#== behaves oddly
- I wonder if naive comparison like this is advisable?