Skip to content

Commit 2c2a05f

Browse files
committed
Remove excessive Struct.length method
There is only an instance method #length
1 parent 216d1d2 commit 2c2a05f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/ruby/truffleruby/core/struct.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,6 @@ def length
318318
end
319319
alias_method :size, :length
320320

321-
def self.length
322-
self::STRUCT_ATTRS.size
323-
end
324-
325321
def members
326322
Primitive.class(self).members
327323
end

0 commit comments

Comments
 (0)