Sha256: 4ffd5398f40ba3d2269d1e064d560f890b7c805fa0b7e859169057f9c3034dd1
Contents?: true
Size: 1023 Bytes
Versions: 10
Compression:
Stored size: 1023 Bytes
Contents
module Expressir module Model module Declarations # Specified in ISO 10303-11:2004 # - section 11 Interface specification class InterfacedItem < ModelElement model_attr_accessor :id, "String" model_attr_accessor :remarks, "Array<String>" model_attr_accessor :remark_items, "Array<RemarkItem>" model_attr_accessor :base_item, "ModelElement" # @param [Hash] options # @option options [String] :id # @option options [Array<String>] :remarks # @option options [Array<RemarkItem>] :remark_items # @option options [ModelElement] :base_item def initialize(options = {}) @id = options[:id] @remarks = options[:remarks] || [] @remark_items = options[:remark_items] || [] @base_item = options[:base_item] super end # @return [Array<Declaration>] def children [ *remark_items, ] end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems