lib/iot/install.rb
# Create strobo directory.
# Check existing of /usr/local/strobo before creating
Create strobo directory.
Check existing of /usr/local/strobo before creating
Create strobo directory . Check existing of / usr / local / strobo before creating
def make_strobo_dir
      if File.exist? StroboPath
        puts "already exist #{StroboPath}"
      else
        puts "create #{StroboPath}"
        Dir.mkdir StroboPath
      end
    end
def make_strobo_dir if File . exist? StroboPath puts "already exist #{StroboPath}" else puts "create #{StroboPath}" Dir . mkdir StroboPath end end
Create strobo directory.
Create strobo directory .