Sha256: 2d3146be4a5aead3bcb09c4b88f1798b5ea551bd0a97e64eeb35f1b322db2d92
Contents?: true
Size: 710 Bytes
Versions: 7
Compression:
Stored size: 710 Bytes
Contents
module RelatonGb # GB standard type. class GbStandardType # @return [String] attr_reader :scope # @return [String] attr_reader :prefix # @return [String] attr_reader :mandate # @param scope [String] # @param prefix [String] # @param mandate [String] def initialize(scope:, prefix:, mandate:) @scope = scope @prefix = prefix @mandate = mandate end def to_xml(builder) builder.gbtype do builder.gbscope @scope builder.gbprefix @prefix builder.gbmandate @mandate end end # @return [Hash] def to_hash { "scope" => scope, "prefix" => prefix, "mandate" => mandate } end end end
Version data entries
7 entries across 7 versions & 1 rubygems