Sha256: dc103df48b2b4b4c3e9b91367200d64a7a834b6422cd4b94046b41f8c003b9e9

Contents?: true

Size: 263 Bytes

Versions: 9

Compression:

Stored size: 263 Bytes

Contents

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

    def load_target
      super
      if(File.exists?(archive_path))
        File.chmod(0755, archive_path)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sprout-0.5.10 lib/tool.rb
sprout-0.5.0 lib/tool.rb
sprout-0.3.36 lib/tool.rb
sprout-0.5.11 lib/tool.rb
sprout-0.5.13 lib/tool.rb
sprout-0.3.35 lib/tool.rb
sprout-0.5.19 lib/tool.rb
sprout-0.5.9 lib/tool.rb
sprout-0.5.15 lib/tool.rb