mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
175c0e950b
Make sure that `show-doc` displays the comments of the original
definition by default. This test *must* fail with current state of
things. The goal is to eliminate the oddities in Pry across some Ruby
implementations.
For more information see:
d05233ecd3
22 lines
357 B
Ruby
22 lines
357 B
Ruby
# used by show_source_spec.rb and show_doc_spec.rb
|
|
class TestClassForShowSource
|
|
#doc
|
|
def alpha
|
|
end
|
|
end
|
|
|
|
class TestClassForShowSourceClassEval
|
|
def alpha
|
|
end
|
|
end
|
|
|
|
class TestClassForShowSourceInstanceEval
|
|
def alpha
|
|
end
|
|
end
|
|
|
|
# The first definition (find the second one in show_doc_spec.rb).
|
|
class TestClassForCandidatesOrder
|
|
def alpha
|
|
end
|
|
end
|