mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00

* 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
13 lines
205 B
Ruby
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
|