lib/fira.rb in fira-0.1.0 vs lib/fira.rb in fira-0.2.0
- old
+ new
@@ -1,12 +1,11 @@
require "fira/version"
module Fira
- def self.render(template)
- text = template.source
+ def self.render(source)
@engine = Fira::Engine.new
- output = @engine.parse_text(text)
+ output = @engine.parse_text(source)
return output
end
end
\ No newline at end of file