class ProgressBar::Components::Percentage

def initialize(options = {})

def initialize(options = {})
  self.progress = options[:progress]
end

def justified_percentage

def justified_percentage
  progress.percentage_completed.to_s.rjust(3)
end

def justified_percentage_with_precision

def justified_percentage_with_precision
  progress.percentage_completed_with_precision.to_s.rjust(6)
end

def percentage

def percentage
  progress.percentage_completed.to_s
end

def percentage_with_precision

def percentage_with_precision
  progress.percentage_completed_with_precision
end