Sha256: 165df9494c66509b2a628ad7f01731a4da382ff46ebc256a65c3f98f7149ccb4
Contents?: true
Size: 402 Bytes
Versions: 18
Compression:
Stored size: 402 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
18 entries across 18 versions & 1 rubygems