repo.or.cz
/
rbx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Updated RubySpec submodule to 9f66d0b1.
[rbx.git]
/
kernel
/
bootstrap
/
marshal.rb
blob
ff740d81dd1cf8f264eb9d3de40864987eb0e81a
1
module Marshal
2
def self.dump_to_file(obj, path, version)
3
Ruby.primitive :marshal_to_file
4
raise PrimitiveFailure, "primitive failed"
5
end
6
7
def self.load_from_file(path, version)
8
Ruby.primitive :unmarshal_from_file
9
raise PrimitiveFailure, "primitive failed"
10
end
11
end