Method: CVEList::YearDir#initialize
- Defined in:
- lib/cvelist/year_dir.rb
#initialize(path) ⇒ YearDir
Initializes the year dir.
28 29 30 31 32 |
# File 'lib/cvelist/year_dir.rb', line 28 def initialize(path) super(path) @year = File.basename(@path).to_i end |