Class: RubynCode::Tools::FileCache::Entry

Inherits:
Data
  • Object
show all
Defined in:
lib/rubyn_code/tools/file_cache.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cache_hitsObject (readonly)

Returns the value of attribute cache_hits

Returns:

  • (Object)

    the current value of cache_hits



11
12
13
# File 'lib/rubyn_code/tools/file_cache.rb', line 11

def cache_hits
  @cache_hits
end

#contentObject (readonly)

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



11
12
13
# File 'lib/rubyn_code/tools/file_cache.rb', line 11

def content
  @content
end

#mtimeObject (readonly)

Returns the value of attribute mtime

Returns:

  • (Object)

    the current value of mtime



11
12
13
# File 'lib/rubyn_code/tools/file_cache.rb', line 11

def mtime
  @mtime
end

#read_countObject (readonly)

Returns the value of attribute read_count

Returns:

  • (Object)

    the current value of read_count



11
12
13
# File 'lib/rubyn_code/tools/file_cache.rb', line 11

def read_count
  @read_count
end

#token_countObject (readonly)

Returns the value of attribute token_count

Returns:

  • (Object)

    the current value of token_count



11
12
13
# File 'lib/rubyn_code/tools/file_cache.rb', line 11

def token_count
  @token_count
end