adds basic to_mom machinery for class and method statement

This commit is contained in:
Torsten Ruger
2017-04-12 11:52:23 +03:00
parent a4b0666c8c
commit 1deca34c23
5 changed files with 39 additions and 1 deletions

View File

@ -24,6 +24,12 @@ module Vool
def collect(arr)
arr << self
end
def to_mom( _ )
# temporary warning to find unimplemented kids
raise "Not implemented for #{self}"
end
# create corresponding parfait objects, ie classes, types, methods
# mainly implemented by class/method statement
def create_objects