rubyx/lib/vool/statements/hash_statement.rb
Torsten Ruger db8f99409b move vool statements into own directory
also tests for guard to work
2017-04-06 19:11:11 +03:00

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