Sha256: 3e59469c9c0abd0d029b5e9a22b1eea6b4fb153e8333687036ff914d08dfc628
Contents?: true
Size: 291 Bytes
Versions: 1
Compression:
Stored size: 291 Bytes
Contents
# encoding: utf-8 module Dusen class Query include Enumerable def initialize @tokens = [] end def <<(token) @tokens << token end def to_s collect(&:to_s).join(" + ") end def each(&block) @tokens.each(&block) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dusen-0.2.2 | lib/dusen/query.rb |