Method: RelatonItu::ItuGroup#to_hash
- Defined in:
- lib/relaton_itu/itu_group.rb
#to_hash ⇒ Hash
78 79 80 81 82 83 84 |
# File 'lib/relaton_itu/itu_group.rb', line 78 def to_hash hash = { "name" => name } hash["type"] = type if type hash["acronym"] = acronym if acronym hash["period"] = period.to_hash if period hash end |