lib/nanoc3/base/code_snippet.rb in nanoc3-3.1.0a2 vs lib/nanoc3/base/code_snippet.rb in nanoc3-3.1.0a3
- old
+ new
@@ -27,12 +27,16 @@
# @return [Time]
attr_reader :mtime
# Creates a new code snippet.
#
- # @param [String] data The raw source code which will be executed before compilation
+ # @param [String] data The raw source code which will be executed before
+ # compilation
+ #
# @param [String] filename The filename corresponding to this code snippet
- # @param [Time] mtime The time when the code was last modified (can be nil)
+ #
+ # @param [Time] mtime The time when the code was last modified (can be
+ # nil)
def initialize(data, filename, mtime=nil)
@data = data
@filename = filename
@mtime = mtime
end