# File lib/mspec/runner/tag.rb, line 29 def ==(o) @tag == o.tag and @comment == o.comment and @description == o.description end
# File lib/mspec/runner/tag.rb, line 20 def escape(str) str = %["#{str.gsub(/\n/, '\n')}"] if /\n/ =~ str str end
# File lib/mspec/runner/tag.rb, line 8 def parse(string) m = /^([^()#:]+)(\(([^)]+)?\))?:(.*)$/.match string @tag, @comment, description = m.values_at(1, 3, 4) if m @description = unescape description end
Generated with the Darkfish Rdoc Generator 2.