Sha256: 9317bbd706a64a9707b89e84444c205b567edb4c5c6d2487467436f86911c3cf
Contents?: true
Size: 425 Bytes
Versions: 3
Compression:
Stored size: 425 Bytes
Contents
module Expressir module Model class Type include Scope include Identifier attr_accessor :type attr_accessor :where def initialize(options = {}) @id = options[:id] @type = options[:type] @where = options[:where] end def children items = [] items.push(*@where) if @where items end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
expressir-0.2.6 | lib/expressir/model/type.rb |
expressir-0.2.5-x64-mingw32 | lib/expressir/model/type.rb |
expressir-0.2.4-x64-mingw32 | lib/expressir/model/type.rb |