class Chem::Templates::Detector

Overview

TODO Change signature to Detector.new(registry).detect atoms

Defined in:

chem/templates/detector.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(atoms : Enumerable(Chem::Atom)) #

[View source]

Instance Method Detail

def detect(templates : Registry = Registry.default) : Tuple(Array(MatchData), AtomView) #

[View source]