Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rf- committed Sep 22, 2011
1 parent 7c43bcf commit 44dc359
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/pry/default_commands/documentation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ module DefaultCommands
content = method.source
code_type = method.source_type
else
raw_content = method.doc
orig_code_type = method.source_type
content = method.doc
code_type = method.source_type

text.no_color do
content = process_comment_markup(content, orig_code_type)
content = process_comment_markup(content, code_type)
end
code_type = :plain
end
Expand Down

0 comments on commit 44dc359

Please sign in to comment.