db8f99409b
also tests for guard to work
18 lines
217 B
Ruby
18 lines
217 B
Ruby
module Vool
|
|
class HashStatement
|
|
attr_reader :hash
|
|
|
|
def initialize( )
|
|
@hash = {}
|
|
end
|
|
|
|
def add(key , value)
|
|
@hash[key] = value
|
|
end
|
|
|
|
def length
|
|
@hash.length
|
|
end
|
|
end
|
|
end
|