john mair

Activity

Reported issues: 6

08/09/2013

08:16 PM CommonRuby Feature #8751: Add offsets to method#source_location
We can already do a fairly reliable method extraction in Pry, we simply start reading from the first line of the meth...

02/15/2013

06:05 AM Ruby trunk Feature #7836: Need a way to get Method and UnboundMethod objects to methods overridden by prepen...
@ marcandre. Another possible approach is to provide `UnboundMethod#super`. We do something similar in our Method wra...

02/13/2013

02:40 AM Ruby trunk Feature #7836 (Open): Need a way to get Method and UnboundMethod objects to methods overridden by...
See the following code:
~~~ruby
module P
def hello
puts "from P"
super
end
end
class A
def...

10/28/2012

10:59 PM Ruby trunk Bug #7214: Ruby 2.0 breaks support for some debugging tools
No problem, our current code skips CFUNC frames too :)
Are you thinking of exposing this API to Ruby (in core or s...
09:08 PM Ruby trunk Bug #7214: Ruby 2.0 breaks support for some debugging tools
The API is this:
class methods
--
# return the binding for the nth caller, where Binding.of_caller(0) == binding
Bi...
05:14 AM Ruby trunk Bug #7214: Ruby 2.0 breaks support for some debugging tools
@ko1
Unfortunately I can't make it to rubconf2012.
What we need for Ruby 2.0 is the `binding_of_caller` gem workin...

10/25/2012

07:46 PM Ruby trunk Bug #7214 (Third Party's Issue): Ruby 2.0 breaks support for some debugging tools
Notably the "Pry" debugger breaks, and (though i haven't checked) I'm assuming the 'debugger' project as well. The re...

11/30/2010

12:46 PM Ruby trunk Feature #4102 (Rejected): Proposal for 'let'. A new approach using block-defaults in 1.9
=begin
This is a very simple function, it would be implemented as follows:

module Kernel
private
...

11/15/2010

03:38 PM Ruby trunk Bug #4058 (Closed): __method__ does not return correct method name for aliased methods
=begin
class Test
def my_method
__method__
end

alias_method :my_alias, :my_method
end

H...

Also available in: Atom