38350dd198
the "normalization" is getting more and more complicated and is not tested And it seems i really don't like working with the untyped ast
18 lines
217 B
Ruby
18 lines
217 B
Ruby
module Ruby
|
|
class HashStatement
|
|
attr_reader :hash
|
|
|
|
def initialize( )
|
|
@hash = {}
|
|
end
|
|
|
|
def add(key , value)
|
|
@hash[key] = value
|
|
end
|
|
|
|
def length
|
|
@hash.length
|
|
end
|
|
end
|
|
end
|