Method: MarkdownRecord::Validator#initialize

Defined in:
lib/markdown_record/rendering/validator.rb

#initializeValidator

Returns a new instance of Validator.



9
10
11
12
# File 'lib/markdown_record/rendering/validator.rb', line 9

def initialize
  @index = ::MarkdownRecord::Indexer.new.index
  @json = ::MarkdownRecord::JsonRenderer.new.render_models_for_subdirectory(subdirectory: "",:concat => true, :deep => true, :save => false, :render_content_fragment_json => true)
end