class Puppet::Pops::Time::Timespan::Format::MinuteSegment
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 446 def initialize(padchar, width) 447 super(padchar, width, 2) 448 end
Public Instance Methods
append_to(bld, ts)
click to toggle source
# File lib/puppet/pops/time/timespan.rb 454 def append_to(bld, ts) 455 append_value(bld, use_total? ? ts.total_minutes : ts.minutes) 456 end
multiplier()
click to toggle source
# File lib/puppet/pops/time/timespan.rb 450 def multiplier 451 NSECS_PER_MIN 452 end