module RamlDoc

Constants

VERSION

Public Class Methods

generate(file_path, template="default", format="html") click to toggle source
# File lib/raml_doc.rb, line 7
def self.generate(file_path, template="default", format="html")
  raml = Raml.parse_file(file_path)
  view = View.new(raml)
  view.render template, format
end