⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (305 Bytes)
Bug #11088
» 11088_test.rb
shishir127 (Shishir Joshi)
, 05/09/2015 06:57 AM
class
MarshalTest
attr_accessor
:str
,
:int
end
test_object
=
MarshalTest
.
new
()
test_object
.
str
=
'test'
test_object
.
int
=
42
dump
=
Marshal
.
dump
(
test_object
)
reconstituted_object
=
Marshal
.
load
(
dump
)
puts
reconstituted_object
.
str
puts
reconstituted_object
.
int
reconstituted_object
.
undefined_method
« Previous
1
2
3
4
5
…
7
Next »
(3-3/7)
Loading...