remove unused attributes() boilerplate
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user