class

Detector::Specification::RAML

Inherits Detector < Reference < Object

Constants

RAML_MARKER = /\#%RAML/

Every .raml/.yaml/.yml in the tree reaches this guard.

Class methods

tech_name

The tech name without needing an instance, so the registry can be read off the classes themselves rather than from a parallel list.

Source

Instance methods

applicable?(filename : String) : Bool

Registers RAML spec paths in CodeLocator.

Source
detect(filename : String, file_contents : String) : Bool
Source
idempotent?

Registers RAML spec paths in CodeLocator.

Source
set_name

Registers RAML spec paths in CodeLocator.

Source