Class: Tashiro::ToritsuUniv

Inherits:
Object
  • Object
show all
Defined in:
lib/tashiro/toritsu_univ.rb

Class Method Summary collapse

Class Method Details

.execute!(f) ⇒ Object



8
9
10
11
12
13
14
15
16
17
# File 'lib/tashiro/toritsu_univ.rb', line 8

def execute!(f)
  config = YAML::load_file(Pathname.new(f).expand_path.to_s)
  config["path"].each do |dir|
    FSSM.monitor("#{dir}", "**/*.go") do
      update do |base, relative|
        puts "3"
      end
    end
  end
end