class ProgressBar::Components::Title
Constants
- DEFAULT_TITLE
Attributes
title[RW]
Public Class Methods
new(options = {})
click to toggle source
# File lib/ruby-progressbar/components/title.rb, line 8 def initialize(options = {}) self.title = options[:title] || DEFAULT_TITLE end