rubocop
This commit is contained in:
parent
67fc3d0c05
commit
e9abfe1134
4 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue