Class: Expire::Commands::Oldest
- Inherits:
-
Expire::Command
- Object
- Expire::Command
- Expire::Commands::Oldest
- Defined in:
- lib/expire/commands/oldest.rb
Overview
Print the oldest backup
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
- #execute(input: $stdin, output: $stdout) ⇒ Object
-
#initialize(path, options) ⇒ Oldest
constructor
A new instance of Oldest.
Methods inherited from Expire::Command
#command, #cursor, #editor, #exec_exist?, #generator, #pager, #platform, #prompt, #screen, #which
Constructor Details
#initialize(path, options) ⇒ Oldest
Returns a new instance of Oldest.
9 10 11 12 |
# File 'lib/expire/commands/oldest.rb', line 9 def initialize(path, ) @path = path @options = end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
14 15 16 |
# File 'lib/expire/commands/oldest.rb', line 14 def path @path end |