1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/lib/pry/rbx_method.rb
John Mair 74d3d0da48 define a Pry::Method#source_location, fixes #524
* This fixes _file_ for rbx core methods by special casing rbx right at Pry::Method#source_location, as a result
most things down stream should 'just work' with rbx, with no other checks required
2012-04-13 18:39:04 +12:00

13 lines
205 B
Ruby

class Pry
module RbxMethod
private
def core_code
MethodSource.source_helper(source_location)
end
def core_doc
MethodSource.comment_helper(source_location)
end
end
end