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

@@ -33,9 +33,7 @@ module Virtual
@clazz = clazz
end
attr_accessor :clazz
def attributes
[:clazz]
end
def at_index block , left , right
block.ldr( self , left , right )
self
@@ -48,9 +46,6 @@ module Virtual
class Mystery < Type
def initialize
end
def attributes
[]
end
def as type
type.new
end