Method: LicenseFinder::License::Matcher.from_text

Defined in:
lib/license_finder/license/matcher.rb

.from_text(text) ⇒ Object



10
11
12
# File 'lib/license_finder/license/matcher.rb', line 10

def self.from_text(text)
  from_regex(Text.compile_to_regex(text))
end