class Gbbib::GbStandardType
GB standard type.
Attributes
mandate[R]
@return [String]
prefix[R]
@return [String]
scope[R]
@return [String]
Public Class Methods
new(scope:, prefix:, mandate:)
click to toggle source
@param scope [String] @param prefix [String] @param mandate [String]
# File lib/gbbib/gb_standard_type.rb, line 16 def initialize(scope:, prefix:, mandate:) @scope = scope @prefix = prefix @mandate = mandate end
Public Instance Methods
to_xml(builder)
click to toggle source
# File lib/gbbib/gb_standard_type.rb, line 22 def to_xml(builder) builder.gbtype do builder.gbscope @scope builder.gbprefix @prefix builder.gbmandate @mandate end end