Sha256: b4f522fab782eaa072512557eb76793674d7395f3fbfe20e85230a1ce7044208
Contents?: true
Size: 589 Bytes
Versions: 7
Compression:
Stored size: 589 Bytes
Contents
module Expressir module Model class InterfacedItem < ModelElement model_attr_accessor :id model_attr_accessor :remarks model_attr_accessor :remark_items model_attr_accessor :base_item def initialize(options = {}) @id = options[:id] @remarks = options.fetch(:remarks, []) @remark_items = options.fetch(:remark_items, []) @base_item = options[:base_item] super end def path base_item.path end def children [ *remark_items ] end end end end
Version data entries
7 entries across 7 versions & 1 rubygems