Sha256: 6240436abea784b0a45fe529ca1170199a80f51faaeb4ffe27a0504a11899748
Contents?: true
Size: 645 Bytes
Versions: 5
Compression:
Stored size: 645 Bytes
Contents
module NistBib class CommentPeriod # @return [Date] attr_reader :from # @rerurn [Date, NilClass] attr_reader :to # @return [Date, NilClass] attr_reader :extended # @param from [Date] # @param to [Date, NilClass] # @param extended [Date, NilClass] def initialize(from, to = nil, extended = nil) @from = from @to = to @extended = extended end # @param [Nokogiri::XML::Builder] def to_xml(builder) builder.commentperiod do builder.from from.to_s builder.to to.to_s if to builder.extended extended.to_s if extended end end end end
Version data entries
5 entries across 5 versions & 1 rubygems