Class: Licensee::FSProject
Overview
Filesystem-based project
Analyze a folder on the filesystem for license information
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, detect_packages: false) ⇒ FSProject
constructor
A new instance of FSProject.
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
#path ⇒ Object (readonly)
Returns the value of attribute path.
100 101 102 |
# File 'lib/licensee/project.rb', line 100 def path @path end |