Sha256: 56d1f58c7fc00934d2d7fee8e5f781e09dd7fd0694f30880f5ced366ea8a6988
Contents?: true
Size: 540 Bytes
Versions: 14
Compression:
Stored size: 540 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 children [ *remark_items ] end end end end
Version data entries
14 entries across 14 versions & 1 rubygems