lib/graphql-docs/helpers.rb in graphql-docs-0.2.0 vs lib/graphql-docs/helpers.rb in graphql-docs-0.2.1

- old
+ new

@@ -10,9 +10,10 @@ slug.downcase end def include(filename, opts = {}) template = fetch_include(filename) + opts = { base_url: @options[:base_url] }.merge(opts) template.result(OpenStruct.new(opts.merge(helper_methods)).instance_eval { binding }) end def markdown(string) GitHub::Markdown.render(string || 'n/a')