lib/spoom/coverage/d3/base.rb in spoom-1.1.11 vs lib/spoom/coverage/d3/base.rb in spoom-1.1.12
- old
+ new
@@ -17,17 +17,21 @@
def initialize(id, data)
@id = id
@data = data
end
- sig { returns(String) }
- def self.header_style
- ""
- end
+ class << self
+ extend T::Sig
- sig { returns(String) }
- def self.header_script
- ""
+ sig { returns(String) }
+ def header_style
+ ""
+ end
+
+ sig { returns(String) }
+ def header_script
+ ""
+ end
end
sig { returns(String) }
def html
<<~HTML