class Puppet::Pops::Time::Timespan::Format::HourSegment

Public Class Methods

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

Public Instance Methods

append_to(bld, ts) click to toggle source
    # File lib/puppet/pops/time/timespan.rb
439 def append_to(bld, ts)
440   append_value(bld, use_total? ? ts.total_hours : ts.hours)
441 end
multiplier() click to toggle source
    # File lib/puppet/pops/time/timespan.rb
435 def multiplier
436   NSECS_PER_HOUR
437 end