Sha256: d12ae33164eb978c215d7a1a345744312b05cab2f37616cd8dd774bacd92bc7b

Contents?: true

Size: 226 Bytes

Versions: 2

Compression:

Stored size: 226 Bytes

Contents

module Hearken; module Indexing; end; end

class Hearken::Indexing::File
  def initialize path, root=nil
    @path, @root = path, root
  end

  def timestamp
    @path.mtime.to_i.to_s
  end

  def to_s
    @path.to_s
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hearken-0.1.3 lib/hearken/indexing/file.rb
hearken-0.1.2 lib/hearken/indexing/file.rb