Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/stupid_formatter.rb
Instance Method Summary collapse
-
#formatted ⇒ Object
Pipes this string through the StupidFormatter and it’s configured chain.
Instance Method Details
#formatted ⇒ Object
Pipes this string through the StupidFormatter and it’s configured chain. The same as StupidFormatter.result(some_string)
10 11 12 |
# File 'lib/stupid_formatter.rb', line 10 def formatted StupidFormatter.result(self) end |