Class: Juli::Command::FileEntry
- Inherits:
- 
      Object
      
        - Object
- Juli::Command::FileEntry
 
- Defined in:
- lib/juli/command/file_entry.rb
Overview
used in both Juli::Command::Sitemap Juli::Command::RecentUpdate
Instance Attribute Summary collapse
- 
  
    
      #mtime  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute mtime. 
- 
  
    
      #path  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute path. 
Instance Method Summary collapse
- 
  
    
      #initialize(path, mtime)  ⇒ FileEntry 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of FileEntry. 
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
#mtime ⇒ Object
Returns the value of attribute mtime.
| 5 6 7 | # File 'lib/juli/command/file_entry.rb', line 5 def mtime @mtime end | 
#path ⇒ Object
Returns the value of attribute path.
| 5 6 7 | # File 'lib/juli/command/file_entry.rb', line 5 def path @path end |