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

Public Class Methods

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

Public Instance Methods

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