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

Method initialize_copy

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

Source from the content-addressed store, hash-verified

1278 end
1279
1280 def initialize_copy(other)
1281 @id = other.id
1282 @f1 = other.f1
1283 @f2 = other.f2
1284 @f3 = other.f3
1285 @f4 = other.f4
1286 @f5 = other.f5
1287 @f6 = other.f6
1288 @f7 = other.f7
1289 @f8 = other.f8
1290 @f9 = other.f9
1291 @f10 = other.f10
1292 @f11 = other.f11
1293 @f12 = other.f12
1294 @f13 = other.f13
1295 @f14 = other.f14
1296 @f15 = other.f15
1297 @f16 = other.f16
1298 @f17 = other.f17
1299 @f18 = other.f18
1300 @f19 = other.f19
1301 @f20 = other.f20
1302 @f21 = other.f21
1303 @f22 = other.f22
1304 @f23 = other.f23
1305 @f24 = other.f24
1306 @f25 = other.f25
1307 @f26 = other.f26
1308 @f27 = other.f27
1309 @f28 = other.f28
1310 @f29 = other.f29
1311 @f30 = other.f30
1312 @f31 = other.f31
1313 @f32 = other.f32
1314 @f33 = other.f33
1315 @f34 = other.f34
1316 @f35 = other.f35
1317 @f36 = other.f36
1318 @f37 = other.f37
1319 @f38 = other.f38
1320 @f39 = other.f39
1321 @f40 = other.f40
1322 @f41 = other.f41
1323 @f42 = other.f42
1324 @f43 = other.f43
1325 @f44 = other.f44
1326 end
1327
1328 # Struct shallow copy
1329 def copy(other)

Callers

nothing calls this directly

Calls 15

idMethod · 0.45
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
f11Method · 0.45

Tested by

no test coverage detected