Sha256: 858f8047ebdad97b274eec55b52a4360fcfdf086120c740abd8361b994cf6f52
Contents?: true
Size: 267 Bytes
Versions: 1
Compression:
Stored size: 267 Bytes
Contents
module Dusen class Query include Enumerable def initialize @atoms = [] end def <<(atom) @atoms << atom end def to_s collect(&:to_s).join(" + ") end def each(&block) @atoms.each(&block) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dusen-0.1.0 | lib/dusen/query.rb |