Slotted constructor cleanup

This commit is contained in:
2020-02-17 14:45:54 +07:00
parent c1679bd6ff
commit 2d11078a37
13 changed files with 26 additions and 22 deletions

View File

@@ -52,7 +52,7 @@ module Sol
get_named_class.single_class.instance_type
end
def to_slotted(_)
return SlotMachine::Slotted.for( get_named_class, [])
return SlotMachine::Slotted.for( get_named_class)
end
def get_named_class
Parfait.object_space.get_class_by_name(self.name)