Class: RelatonIho::Workgroup

Inherits:
IHOGroup show all
Defined in:
lib/relaton_iho/iho_group.rb

Instance Attribute Summary

Attributes inherited from IHOGroup

#abbreviation, #name, #subgroup

Instance Method Summary collapse

Methods inherited from IHOGroup

expand, #initialize

Constructor Details

This class inherits a constructor from RelatonIho::IHOGroup

Instance Method Details

#to_asciibib(prefix, count = 1) ⇒ Strin

Parameters:

  • prefix (String)
  • count (Integer) (defaults to: 1)

Returns:

  • (Strin)


123
124
125
# File 'lib/relaton_iho/iho_group.rb', line 123

def to_asciibib(prefix, count = 1)
  super prefix + ".workgroup", count
end

#to_hashHash

Returns:

  • (Hash)


116
117
118
# File 'lib/relaton_iho/iho_group.rb', line 116

def to_hash
  { "workgroup" => super }
end

#to_xml(builder) ⇒ Object

Parameters:

  • builder (Nokogiri::XML::Builder)


111
112
113
# File 'lib/relaton_iho/iho_group.rb', line 111

def to_xml(builder)
  builder.workgroup { |b| super b }
end