Class: Awestruct::Handlers::AsciidoctorMatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/awestruct/handlers/asciidoctor_handler.rb

Instance Method Summary collapse

Instance Method Details

#match(path) ⇒ Object



14
15
16
17
# File 'lib/awestruct/handlers/asciidoctor_handler.rb', line 14

def match(path)
  engine = Tilt[path]
  engine == Tilt::AsciidoctorTemplate
end