Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/stupid_formatter.rb

Instance Method Summary collapse

Instance Method Details

#formattedObject

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