General

Profile

radarek (Radosław Bułat)

  • Login: radarek
  • Registered on: 07/09/2008
  • Last connection: 06/29/2020

Issues

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

Activity

11/17/2020

10:25 AM Ruby master Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
phluid61 (Matthew Kerwin) wrote in #note-9:
> ``` ruby
> attr_accessor :x, :y #=> ?
> ```
This is exactly why ...
radarek (Radosław Bułat)
10:23 AM Ruby master Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
marcandre (Marc-Andre Lafortune) wrote in #note-8:
> I would also like `alias_method x, y` to return `x` so we could...
radarek (Radosław Bułat)

11/11/2020

12:54 PM Ruby master Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
sawa (Tsuyoshi Sawada) wrote in #note-2:
> Private attribute methods defeat the purpose of attribute methods. If you ...
radarek (Radosław Bułat)

11/10/2020

06:22 PM Ruby master Feature #17314 (Open): Provide a way to declare visibility of attributes defined by attr* methods in a single expression
**Description**
Many of us (me included) declare class attributes, even if they are private, on the top of class d...
radarek (Radosław Bułat)

12/31/2015

07:27 PM Ruby master Bug #11932: Ripper.sexp can't parse some files from ruby repository and returns nil
I reduced buggy files. Seems it's related to parsing regexp. radarek (Radosław Bułat)
02:05 PM Ruby master Bug #11932 (Closed): Ripper.sexp can't parse some files from ruby repository and returns nil
Test file bug.rb:
```ruby
require "ripper"
puts Dir['**/**.rb'].find_all { |f| Ripper.sexp(File.read(f)) == ni...
radarek (Radosław Bułat)

09/08/2014

12:56 PM CommonRuby Feature #10216 (Closed): Add methods to Method and UnboundMethod classess to retrieve method instance for super
Because of ruby dynamism nature it is very usefull to check method source location directly in irb/pry by SomeClass.i... radarek (Radosław Bułat)

02/25/2011

06:17 PM Ruby master Feature #4447: add String#byteslice() method
=begin
Hm, can't you just force it to binary encoding?
>> s = "ąęć"
=> "ąęć"
>> s.slice(1,2)
=> "ęć"
...
radarek (Radosław Bułat)

01/20/2011

06:28 PM Ruby master Bug #4298: Duration of calling String#[] with the same index is strangely related to string length.
=begin
I copied&pasted wrong info about ruby's version. It's actually:

$ ruby-trunk -v
ruby 1.9.3dev (2010-09...
radarek (Radosław Bułat)
06:21 PM Ruby master Bug #4298 (Closed): Duration of calling String#[] with the same index is strangely related to string length.
=begin
The longer string is the slower is String#[] (for the same index > 0). See the example benchmark below:

...
radarek (Radosław Bułat)

Also available in: Atom