Module: Fu

Defined in:
lib/fu.rb,
lib/fu/error.rb,
lib/fu/parser.rb,
lib/fu/version.rb,
lib/fu/mustache.rb

Defined Under Namespace

Classes: Error, Mustache, Parser, SyntaxError

Constant Summary collapse

VERSION =
"0.1.4"

Class Method Summary collapse

Class Method Details

.to_mustache(fu) ⇒ Object



9
10
11
# File 'lib/fu.rb', line 9

def self.to_mustache(fu)
  Fu::Mustache.new(Fu::Parser.new(fu).root).mustache
end