Class: Expressir::Model::Declarations::InterfaceItem

Inherits:
ModelElement
  • Object
show all
Defined in:
lib/expressir/model/declarations/interface_item.rb

Overview

Specified in ISO 10303-11:2004

  • section 11 Interface specification

Instance Attribute Summary collapse

Attributes inherited from ModelElement

#parent

Instance Method Summary collapse

Methods inherited from ModelElement

#children, #children_by_id, #find, from_hash, model_attr_accessor, model_attrs, #path, #reset_children_by_id, #to_hash, #to_liquid, #to_s

Constructor Details

#initialize(options = {}) ⇒ InterfaceItem

Returns a new instance of InterfaceItem.

Parameters:

  • options (Hash) (defaults to: {})

Options Hash (options):



14
15
16
17
18
19
# File 'lib/expressir/model/declarations/interface_item.rb', line 14

def initialize(options = {})
  @ref = options[:ref]
  @id = options[:id]

  super
end

Instance Attribute Details

#idString

Returns:



8
# File 'lib/expressir/model/declarations/interface_item.rb', line 8

model_attr_accessor :id, "String"

#refReference

Returns:



7
# File 'lib/expressir/model/declarations/interface_item.rb', line 7

model_attr_accessor :ref, "Reference"