class Puppet::Pops::Time::Timespan::Format::MilliSecondSegment
Public Class Methods
new(padchar, width)
click to toggle source
Calls superclass method
Puppet::Pops::Time::Timespan::Format::ValueSegment::new
# File lib/puppet/pops/time/timespan.rb 500 def initialize(padchar, width) 501 super(padchar, width, 3) 502 end
Public Instance Methods
append_to(bld, ts)
click to toggle source
# File lib/puppet/pops/time/timespan.rb 508 def append_to(bld, ts) 509 append_value(bld, use_total? ? ts.total_milliseconds : ts.milliseconds) 510 end
multiplier()
click to toggle source
# File lib/puppet/pops/time/timespan.rb 504 def multiplier 505 NSECS_PER_MSEC 506 end