Module: Pebbles::TotsuGen
- Defined in:
- lib/pebbles/totsugen.rb,
lib/pebbles/totsugen/version.rb,
lib/pebbles/totsugen/formatters.rb,
lib/pebbles/totsugen/singleton_class.rb
Defined Under Namespace
Classes: Formatter, OriginFormatter, SimplifiedFormatter
Constant Summary collapse
- VERSION =
'0.3.0'
Class Method Summary collapse
Class Method Details
.generate(body) ⇒ String
9 10 11 12 |
# File 'lib/pebbles/totsugen/singleton_class.rb', line 9 def generate(body) formatter = SimplifiedFormatter.new(body.to_str) formatter.result end |