This commit is contained in:
Thomas Reynolds 2015-10-01 13:54:54 -07:00
parent 67fc3d0c05
commit e9abfe1134
4 changed files with 4 additions and 5 deletions

View file

@ -85,7 +85,7 @@ module Middleman
}
if ctx.config[:sass_source_maps]
more_opts[:source_map_file] = "."
more_opts[:source_map_file] = '.'
more_opts[:source_map_embed] = true
more_opts[:source_map_contents] = true
end

View file

@ -1,9 +1,8 @@
module Middleman
module Sass
module Functions
def asset_path(source, options)
def asset_path(_source, _options)
# current_resource
end
# Using Middleman::Util#asset_path, return the full path

View file

@ -143,7 +143,7 @@ module Middleman
end
def to_s
"#<#{self.class.to_s} path=#{@path} target=#{@target}>"
"#<#{self.class} path=#{@path} target=#{@target}>"
end
alias_method :inspect, :to_s
end

View file

@ -194,7 +194,7 @@ module Middleman
end
def to_s
"#<#{self.class.to_s} path=#{@path}>"
"#<#{self.class} path=#{@path}>"
end
alias_method :inspect, :to_s # Ruby 2.0 calls inspect for NoMethodError instead of to_s
end