Class: Juli::Command::FileEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/juli/command/file_entry.rb

Overview

used in both Juli::Command::Sitemap Juli::Command::RecentUpdate

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, mtime) ⇒ FileEntry

Returns a new instance of FileEntry.



6
7
8
9
# File 'lib/juli/command/file_entry.rb', line 6

def initialize(path, mtime)
  @path   = path
  @mtime  = mtime
end

Instance Attribute Details

#mtimeObject

Returns the value of attribute mtime.



5
6
7
# File 'lib/juli/command/file_entry.rb', line 5

def mtime
  @mtime
end

#pathObject

Returns the value of attribute path.



5
6
7
# File 'lib/juli/command/file_entry.rb', line 5

def path
  @path
end