Sha256: 4083e94bcaf418cd50579a3ea14ff36ac32591f9da9bbe8d44ae3ccd520bcb76

Contents?: true

Size: 281 Bytes

Versions: 62

Compression:

Stored size: 281 Bytes

Contents

require 'flydata-core/agent'

module Flydata

class Agent
  def initialize(flydata_home)
    @flydata_home = flydata_home
  end

  def delete_buffer_files
    files = Dir.glob("#{@flydata_home}/#{FlydataCore::Agent::BUFFER_PATH}*")
    File.delete(*files)
    files
  end
end

end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
flydata-0.6.8 lib/flydata/agent.rb
flydata-0.6.7 lib/flydata/agent.rb
flydata-0.6.6 lib/flydata/agent.rb
flydata-0.6.5 lib/flydata/agent.rb
flydata-0.6.4 lib/flydata/agent.rb
flydata-0.6.3 lib/flydata/agent.rb
flydata-0.6.2 lib/flydata/agent.rb
flydata-0.6.1 lib/flydata/agent.rb
flydata-0.6.0 lib/flydata/agent.rb
flydata-0.5.21 lib/flydata/agent.rb
flydata-0.5.20 lib/flydata/agent.rb
flydata-0.5.17 lib/flydata/agent.rb
flydata-0.5.16 lib/flydata/agent.rb
flydata-0.5.15 lib/flydata/agent.rb
flydata-0.5.14 lib/flydata/agent.rb
flydata-0.5.13 lib/flydata/agent.rb
flydata-0.5.12 lib/flydata/agent.rb
flydata-0.5.11 lib/flydata/agent.rb
flydata-0.5.10 lib/flydata/agent.rb
flydata-0.5.9 lib/flydata/agent.rb