Skip to content

Commit

Permalink
fix(ruby): call super without arguments when signature is identical
Browse files Browse the repository at this point in the history
  • Loading branch information
sshakndr authored and LinneyS committed Jul 2, 2024
1 parent 1887853 commit 910fef5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
module Enviroment
def initialize(name)
@env = ENV.to_hash
super(name)
super
end

def setup
Expand Down
2 changes: 1 addition & 1 deletion web/documentserver-example/ruby/app/format/format.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Format < T::Struct

sig { params(hash: T.untyped, strict: T.untyped).returns(Format) }
def self.from_hash(hash, strict = nil)
super(hash, strict)
super
end

sig { returns(String) }
Expand Down

0 comments on commit 910fef5

Please sign in to comment.