Method: CodeStats::Project#initialize
- Defined in:
- lib/code_stats/project.rb
#initialize(path, options = {}) ⇒ Project
Returns a new instance of Project.
9 10 11 12 13 14 15 |
# File 'lib/code_stats/project.rb', line 9 def initialize path, = {} @path, @name = path, path.to_entry.name . *AVAILIABLE_OPTIONS @spec_filter = .include?(:spec_filter) ? [:spec_filter] : DEFAUL_SPEC_FILTER @skip_filter = .include?(:skip_filter) ? [:skip_filter] : DEFAUL_SKIP_FILTER clear end |