Sha256: ce02d8abe37c86fbd6f020114e22a4dbdb1e091d77918f5e5e474f40cb261d7a
Contents?: true
Size: 508 Bytes
Versions: 53
Compression:
Stored size: 508 Bytes
Contents
module RelatonGb # GB technical committee. class GbTechnicalCommittee # @return [String] attr_reader :type # @return [String] attr_reader :name # @param type [String] # @param name [String] def initialize(type:, name:) @type = type @name = name end def to_xml(builder) builder.gbcommittee(type: @type) do builder.text @name end end # @return [Hash] def to_hash { "type" => type, "name" => name } end end end
Version data entries
53 entries across 53 versions & 2 rubygems