remove to_mom / create_objects dichotomy

wsa supposed to be clearer, but even to me seems confusing now.
This commit is contained in:
Torsten Ruger
2018-06-26 20:46:58 +03:00
parent c6a903073a
commit f0ba863721
6 changed files with 20 additions and 31 deletions

View File

@ -22,7 +22,7 @@ module Parfait
raise "source must be vool" unless source.is_a?(Vool::Statement)
end
def create_parfait_method( type )
def create_typed_method( type )
raise "create_method #{type.inspect} is not a Type" unless type.is_a? Parfait::Type
type.create_method( @name , @args_type , @frame_type)
end