General

Profile

banister (john mair)

  • Login: banister
  • Email: jrmair@gmail.com
  • Registered on: 09/24/2010
  • Last sign in: 10/25/2012

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 6 6

Activity

08/09/2013

08:16 PM Ruby master 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... banister (john mair)

02/15/2013

06:05 AM Ruby master Feature #7836: Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
@ marcandre. Another possible approach is to provide `UnboundMethod#super`. We do something similar in our Method wra... banister (john mair)

02/13/2013

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

10/28/2012

10:59 PM Ruby master 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...
banister (john mair)
09:08 PM Ruby master 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...
banister (john mair)
05:14 AM Ruby master 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...
banister (john mair)

10/25/2012

07:46 PM Ruby master 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... banister (john mair)

01/12/2011

08:46 PM Backport187 Backport #4273 (Closed): Inherited hook called after module_eval for Class.new
=begin
class Base
def self.inherited(klass)
klass.instance_variable_set(:@x, :base)
end
end

De...
banister (john mair)

11/30/2010

12:46 PM Ruby master 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
...
banister (john mair)

11/15/2010

03:38 PM Ruby master 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...
banister (john mair)

Also available in: Atom