File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ def initialize(env)
3333 # @return [Sprockets::Asset]
3434 # --
3535 %i( find_asset find_asset! ) . each do |v |
36- define_method v do |*a |
37- super ( *a ) . tap do |m |
36+ define_method v do |*a , ** b |
37+ super ( *a , ** b ) . tap do |m |
3838 m &.environment = self
3939 end
4040 end
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ class Video < HTML
1414 # --
1515 def run
1616 Nokogiri ::HTML ::Builder . with ( doc ) do |d |
17- d . video ( "No support for video." , args . to_h ( {
17+ d . video ( "No support for video." , args . to_h (
1818 html : true , skip : HTML . skips
19- } ) )
19+ ) )
2020 end
2121 end
2222 end
Original file line number Diff line number Diff line change @@ -23,10 +23,7 @@ module SrcMap
2323 # --
2424 def self . map_path ( env :, asset :)
2525 [
26- path ( {
27- asset : asset ,
28- env : env ,
29- } ) ,
26+ path ( asset : asset , env : env ) ,
3027 EXT ,
3128 ] . join
3229 end
You can’t perform that action at this time.
0 commit comments