Class: Licensee::FSProject

Inherits:
Project
  • Object
show all
Defined in:
lib/licensee/project.rb

Overview

Filesystem-based project

Analyze a folder on the filesystem for license information

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Project

#detect_packages?, #license, #license_file, #matched_file, #package_file

Constructor Details

#initialize(path, detect_packages: false) ⇒ FSProject

Returns a new instance of FSProject.



102
103
104
105
# File 'lib/licensee/project.rb', line 102

def initialize(path, detect_packages: false)
  @path = path
  super(detect_packages)
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



100
101
102
# File 'lib/licensee/project.rb', line 100

def path
  @path
end