Parent

Files

ProgressBar::Format::Molecule

Attributes

key[R]
method_name[R]

Public Class Methods

new(letter) click to toggle source
# File lib/ruby-progressbar/format/molecule.rb, line 28
def initialize(letter)
  @key         = letter
  @method_name = MOLECULES.fetch(@key.to_sym)
end

Public Instance Methods

bar_molecule?() click to toggle source
# File lib/ruby-progressbar/format/molecule.rb, line 33
def bar_molecule?
  BAR_MOLECULES.include? @key
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.