Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5 from carlosmn/one-niner

Use each_line so it works under ruby 1.9
  • Loading branch information...
commit 972940ac5d2463730daf22c3c18a5b672d444f4a 2 parents 5b4565e + 779218f
@vmg vmg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/docurium.rb
View
2  lib/docurium.rb
@@ -417,7 +417,7 @@ def clean_comment(comment)
def extract_meta(data)
file, brief, defgroup, ingroup = nil
data.each do |block|
- block[:comments].each do |comment|
+ block[:comments].each_line do |comment|
m = []
file = m[1] if m = /@file (.*?)$/.match(comment)
brief = m[1] if m = /@brief (.*?)$/.match(comment)
Please sign in to comment.
Something went wrong with that request. Please try again.