Sha256: b2229d0cb43a9c100298fa6b28fc6fdb53bdd79b3cf1c48ee03e1501ed080460

Contents?: true

Size: 288 Bytes

Versions: 3

Compression:

Stored size: 288 Bytes

Contents

module PatternPark
  
  class Tool < Sprout
    attr_accessor :executable_path
    
    def type
      return 'tool'
    end

    def load_target
      super
      if(archive_path.size > 3 && File.exists?(archive_path))
        File.chmod(0755, archive_path)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sprout-0.5.25 lib/tool.rb
sprout-0.5.23 lib/tool.rb
sprout-0.5.29 lib/tool.rb