remove unused attributes() boilerplate

This commit is contained in:
Torsten Ruger
2014-08-19 22:54:28 +03:00
parent 4b17a1e58f
commit dd59a2f9c6
9 changed files with 15 additions and 79 deletions

View File

@ -13,9 +13,6 @@ module Boot
@meta_class = MetaClass.new(self)
end
attr_reader :name , :methods , :meta_class , :context , :super_class_name
def attributes
[:name , :super_class_name]
end
def add_method_definition method
raise "not a method #{method.class} #{method.inspect}" unless method.is_a? Virtual::MethodDefinition
raise "syserr " unless method.name.is_a? Symbol

View File

@ -17,10 +17,6 @@ module Boot
@me_self = object
end
def attributes
[]
end
# in a non-booting version this should map to _add_singleton_method
def add_function function
raise "not a function #{function}" unless function.is_a? Virtual::Function