class Puppet::Pops::Time::Timespan::Format::SecondSegment

Public Class Methods

new(padchar, width) click to toggle source
    # File lib/puppet/pops/time/timespan.rb
460 def initialize(padchar, width)
461   super(padchar, width, 2)
462 end

Public Instance Methods

append_to(bld, ts) click to toggle source
    # File lib/puppet/pops/time/timespan.rb
468 def append_to(bld, ts)
469   append_value(bld, use_total? ? ts.total_seconds : ts.seconds)
470 end
multiplier() click to toggle source
    # File lib/puppet/pops/time/timespan.rb
464 def multiplier
465   NSECS_PER_SEC
466 end