Method: Decode::Comment::Tags#ignore
- Defined in:
- lib/decode/comment/tags.rb
#ignore(lines, level = 0) ⇒ Object
Ignore lines at the specified indentation level.
81 82 83 84 85 86 87 88 |
# File 'lib/decode/comment/tags.rb', line 81 def ignore(lines, level = 0) if line = lines.first # Is it at the right indentation level: return unless valid_indentation?(line, level) lines.shift end end |