Commit 1d068a3d authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Make Preventable class return tagdef hash.

parent ebac5e07
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,8 +15,8 @@ module JsDuck::Tag
    # @preventable is optionally followed by some method name, but we
    # don't document it.
    def parse(p)
      p.add_tag(@key)
      p.match(/.*$/)
      {:tagname => :preventable}
    end

    def process_doc(docs)