FormatR::Formatter (Class)

In: format.rb
Parent: Object
Formatter ScientificNotationFormatter CenterFormatter RightFormatter LeftFormatter NumberFormatter Array FormatHolder Exception FormatException Format FormatReader FormatEntry FormatR Module: FormatR

This is the base class for all the formats, <,>,|, and # of the @ or ^ persuasion. It keeps track of filled variables and the length string should have.


Public Class methods

Public Instance methods

if it’s a filled field chop the displayed stuff off in the context given

return a formatted string of the correct length

Move the call to eval into one place we shouldn’t have to