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

move unnecessary DocumentationHelpers include out of Pry::WrappedModule

This commit is contained in:
John Mair 2012-12-21 16:34:47 +01:00
parent af5a6a59ea
commit 1fd3521891

View file

@ -15,7 +15,6 @@ class Pry
class WrappedModule
include Pry::Helpers::BaseHelpers
include Pry::Helpers::DocumentationHelpers
attr_reader :wrapped
@ -289,12 +288,5 @@ class Pry
@lines_for_file[file] ||= File.readlines(file)
end
end
# @param [String] doc The raw docstring to process.
# @return [String] Process docstring markup and strip leading white space.
def process_doc(doc)
process_comment_markup(strip_leading_hash_and_whitespace_from_ruby_comments(doc))
end
end
end