little fat of meta class

meta is firmly in the ruby world, not implemented in type world
This commit is contained in:
Torsten Ruger
2016-12-16 00:57:10 +02:00
parent f7e01ff05e
commit 516bbd10b7
2 changed files with 5 additions and 16 deletions

View File

@ -37,9 +37,6 @@ module Parfait
def get_instance_method fname
self.object.get_type.get_instance_method fname
end
def resolve_method m_name
self.object.get_type.resolve_method m_name
end
# the modifying part creates a new type
# forwards the action and replaces the type
@ -57,12 +54,5 @@ module Parfait
ret
end
def create_instance_method method_name , arguments
raise "create_instance_method #{method_name}.#{method_name.class}" unless method_name.is_a?(Symbol)
log.debug "Add_method: #{method_name} clazz: #{self.name}"
add_instance_method TypedMethod.new( self , method_name , arguments )
end
end
end