From 1fd3521891e57809012ef987d465c273d627e152 Mon Sep 17 00:00:00 2001 From: John Mair Date: Fri, 21 Dec 2012 16:34:47 +0100 Subject: [PATCH] move unnecessary DocumentationHelpers include out of Pry::WrappedModule --- lib/pry/wrapped_module.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/pry/wrapped_module.rb b/lib/pry/wrapped_module.rb index b1fab206..ad63701e 100644 --- a/lib/pry/wrapped_module.rb +++ b/lib/pry/wrapped_module.rb @@ -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