General

Profile

AlexWayfer (Alexander Popov)

Issues

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

Activity

03/15/2021

10:37 PM Ruby master Feature #17674: Proposal: `Method#source_location` or `Method#owner` for refined methods
xtkoba (Tee KOBAYASHI) wrote in #note-3:
> The example code in #note-2 does not seem to refine `Range#cover?`. This ...
AlexWayfer (Alexander Popov)

03/12/2021

06:18 PM Ruby master Feature #17674: Proposal: `Method#source_location` or `Method#owner` for refined methods
osyo (manga osyo) wrote in #note-1:
> hi.
> In Ruby 2.7 and later, `#method` supports Refinements.
>
> ```ruby
> # t...
AlexWayfer (Alexander Popov)

03/06/2021

09:24 PM Ruby master Feature #17674 (Closed): Proposal: `Method#source_location` or `Method#owner` for refined methods
Inspired by https://bugs.ruby-lang.org/issues/15504#note-17
I'm working on a gem with Ruby refinements, and some m...
AlexWayfer (Alexander Popov)
09:16 PM Ruby master Feature #15504: Freeze all Range objects
zverok (Victor Shepelev) wrote in #note-17:
> > if I want to check was called refined method or core?
>
> It actuall...
AlexWayfer (Alexander Popov)

02/06/2021

12:29 AM Ruby master Feature #15504: Freeze all Range objects
zverok (Victor Shepelev) wrote in #note-15:
> @AlexWayfer
>
> https://github.com/AlexWayfer/gorilla_patch/blob/maste...
AlexWayfer (Alexander Popov)

01/26/2021

08:52 PM Ruby master Feature #15504: Freeze all Range objects
I can't now mock Range objects with RSpec (`gorilla_patch` gem). What should I do? I see no work-around, like `+'foo'... AlexWayfer (Alexander Popov)

02/06/2020

01:25 PM Ruby master Bug #14909: Method call with object that has to_hash method crashes (method with splat and keyword arguments)
There are problems with Sequel Models, which have `#to_hash` method (implicit conversion), and Memery gem, which defi... AlexWayfer (Alexander Popov)

12/05/2019

01:34 PM Ruby master Bug #16403 (Rejected): Unavailable protected methods through `Symbol#to_proc`
Hello!
I've faced with a bug (I guess):
``` ruby
# protected.rb
# frozen_string_literal: true
class Foo
...
AlexWayfer (Alexander Popov)

11/15/2018

10:26 AM CommonRuby Feature #13581: Syntax sugar for method reference
zverok (Victor Shepelev) wrote:
> > Just an opinion
>
> It is funny how when you show some imaginary code, quick-...
AlexWayfer (Alexander Popov)
10:02 AM CommonRuby Feature #13581: Syntax sugar for method reference
zverok (Victor Shepelev) wrote:
> @nobu
>
> > If `.:` will be introduced, I think it should obey that syntax too,...
AlexWayfer (Alexander Popov)

Also available in: Atom