Class: RelatonIho::Commission

Inherits:
IHOGroup
  • Object
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)


142
143
144
# File 'lib/relaton_iho/iho_group.rb', line 142

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

#to_hashHash

Returns:

  • (Hash)


135
136
137
# File 'lib/relaton_iho/iho_group.rb', line 135

def to_hash
  { "commission" => super }
end

#to_xml(builder) ⇒ Object

Parameters:

  • builder (Nokogiri::XML::Builder)


130
131
132
# File 'lib/relaton_iho/iho_group.rb', line 130

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