Sha256: 1d4c665debf5c3752e8f34f61ba3819b5545ff2e183f3536c1f79aa9ea3f2489
Contents?: true
Size: 568 Bytes
Versions: 2
Compression:
Stored size: 568 Bytes
Contents
module Expressir module Model module Expressions class Query attr_accessor :id attr_accessor :source attr_accessor :expression attr_accessor :remarks def initialize(options = {}) @id = options[:id] @source = options[:source] @expression = options[:expression] @remarks = options[:remarks] end def scope_items items = [] items.push(self) items end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
expressir-0.2.2 | lib/expressir/model/expressions/query.rb |
expressir-0.2.1 | lib/expressir/model/expressions/query.rb |