MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / initialize_copy

Method initialize_copy

projects/Ruby/proto/test.rb:11541–11552  ·  view source on GitHub ↗
(other)

Source from the content-addressed store, hash-verified

11539 end
11540
11541 def initialize_copy(other)
11542 @f1 = other.f1
11543 @f2 = other.f2
11544 @f3 = other.f3
11545 @f4 = other.f4
11546 @f5 = other.f5
11547 @f6 = other.f6
11548 @f7 = other.f7
11549 @f8 = other.f8
11550 @f9 = other.f9
11551 @f10 = other.f10
11552 end
11553
11554 # Struct shallow copy
11555 def copy(other)

Callers

nothing calls this directly

Calls 10

f1Method · 0.45
f2Method · 0.45
f3Method · 0.45
f4Method · 0.45
f5Method · 0.45
f6Method · 0.45
f7Method · 0.45
f8Method · 0.45
f9Method · 0.45
f10Method · 0.45

Tested by

no test coverage detected