lib/slim_lint/document.rb in slim_lint-0.4.0 vs lib/slim_lint/document.rb in slim_lint-0.5.0
- old
+ new
@@ -21,10 +21,10 @@
# Parses the specified Slim code into a {Document}.
#
# @param source [String] Slim code to parse
# @param options [Hash]
- # @option file [String] file name of document that was parsed
+ # @option options :file [String] file name of document that was parsed
# @raise [Slim::Parser::Error] if there was a problem parsing the document
def initialize(source, options)
@config = options[:config]
@file = options.fetch(:file, STRING_SOURCE)