Class: RuboCop::Schema::AsciiDoc::Base

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/rubocop/schema/ascii_doc/base.rb

Direct Known Subclasses

Cop, Department, Index

Instance Method Summary collapse

Methods included from Helpers

#boolean, #deep_dup, #deep_merge, #http_get, #strip_html, #template, templates

Constructor Details

#initialize(ascii_block) ⇒ Base

Returns a new instance of Base.

Parameters:

  • ascii_block (Asciidoctor::AbstractBlock)


11
12
13
14
# File 'lib/rubocop/schema/ascii_doc/base.rb', line 11

def initialize(ascii_block)
  @root = ascii_block
  scan
end