1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00

Define Object in the Ruby prelude.

This commit is contained in:
Rob Rix 2018-06-18 10:27:54 -04:00
parent 7cd3afb2ba
commit c07b81f284

View File

@ -35,6 +35,10 @@ instance Preluded Ruby.Term where
void $ call print [variable v]
box unit))
defineClass "Object" [] $ do
define "inspect" (lambda (const (box (string "<object>"))))
instance Preluded Python.Term where
type PreludePath Python.Term = "preludes/python.py"