mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Define Object in the Ruby prelude.
This commit is contained in:
parent
7cd3afb2ba
commit
c07b81f284
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user