Class: Poke::Commands::Lru
- Inherits:
-
Thor
- Object
- Thor
- Poke::Commands::Lru
- Defined in:
- lib/poke/commands/lru.rb,
lib/poke/commands/lru/cat.rb,
lib/poke/commands/lru/reset.rb
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#cat ⇒ Object
19 20 21 22 23 24 25 26 |
# File 'lib/poke/commands/lru.rb', line 19 def cat(*) if [:help] invoke :help, ['cat'] else require_relative 'lru/cat' Poke::Commands::Lru::Cat.new().execute end end |
#reset ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/poke/commands/lru.rb', line 9 def reset(*) if [:help] invoke :help, ['reset'] else require_relative 'lru/reset' Poke::Commands::Lru::Reset.new().execute end end |