Method: Blogdoor::Watcher#initialize
- Defined in:
- lib/blogdoor/watcher.rb
#initialize(args = {}) ⇒ Watcher
Returns a new instance of Watcher.
12 13 14 |
# File 'lib/blogdoor/watcher.rb', line 12 def initialize(args = {}) @root_path = Pathname.new(args[:root_path] || ".") end |