Module: Munger
- Defined in:
- lib/munger/cli.rb,
lib/munger/munge.rb,
lib/munger/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
Class Method Details
.munge(options = {}) ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/munger/munge.rb', line 2 def self.munge(={}) content = Munger.raw_or_path(, :content, :content_path) input = Munger.raw_or_path(, :input, :input_path) munge = Munger::Munge.new() output = munge.run(input, content) Munger.raw_or_path(, :output, :output_path, output) end |