Sha256: e16a911e0609b832ba0d6bd93a48849f2cbbf802c5e4c9c5af263fec683f562c

Contents?: true

Size: 226 Bytes

Versions: 1

Compression:

Stored size: 226 Bytes

Contents

class LicenseFinder::License::Ruby < LicenseFinder::License::Base
  URL_REGEX = %r{http://www.ruby-lang.org/en/LICENSE.txt}

  def self.pretty_name
    'ruby'
  end

  def matches?
    super || !!(text =~ URL_REGEX)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
license_finder-0.5.0 lib/license_finder/license/ruby.rb