Module: Formatter
- Defined in:
- lib/livetext/formatter.rb
Defined Under Namespace
Classes: Bracketed, Delimited, Double, Single
Class Method Summary collapse
-
.format(str) ⇒ Object
FIXME - unneeded?.
Class Method Details
.format(str) ⇒ Object
FIXME - unneeded?
3 4 5 6 7 8 9 |
# File 'lib/livetext/formatter.rb', line 3 def self.format(str) # FIXME - unneeded? str = str.chomp s2 = Double.process(str.chomp) s3 = Bracketed.process(s2) s4 = Single.process(s3) s4 end |