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