Method: Note#initialize
- Defined in:
- lib/models/files/note.rb
#initialize(path) ⇒ Note
Returns a new instance of Note.
12 13 14 15 16 17 18 |
# File 'lib/models/files/note.rb', line 12 def initialize(path) super unless no_dir? @dirname = File.(@dirname) @path = File.(@path) end end |