Class: Licensee::Matchers::DistZilla

Inherits:
Package show all
Defined in:
lib/licensee/matchers/dist_zilla.rb

Constant Summary collapse

LICENSE_REGEX =
/^license\s*=\s*([a-z\-0-9._]+)/i.freeze

Constants inherited from Matcher

Matcher::HASH_METHODS

Instance Attribute Summary collapse

Method Summary

Methods inherited from Package

#confidence, #match

Methods inherited from Matcher

#confidence, #initialize, #match, #name

Methods included from HashHelper

#to_h

Constructor Details

This class inherits a constructor from Licensee::Matchers::Matcher

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



6
7
8
# File 'lib/licensee/matchers/dist_zilla.rb', line 6

def file
  @file
end