opal/corelib/unsupported.rb in opal-0.10.0.beta2 vs opal/corelib/unsupported.rb in opal-0.10.0.beta3
- old
+ new
@@ -131,27 +131,9 @@
`handle_unsupported_feature(ERROR)`
false
end
end
-module Marshal
- `var ERROR = "Marshalling is not supported by Opal";`
-
- module_function
-
- def dump(*)
- raise NotImplementedError, `ERROR`
- end
-
- def load(*)
- raise NotImplementedError, `ERROR`
- end
-
- def restore(*)
- raise NotImplementedError, `ERROR`
- end
-end
-
class Module
def public(*methods)
%x{
if (methods.length === 0) {
self.$$module_function = false;