Class: Alf::Shell::Show
- Inherits:
-
Object
- Object
- Alf::Shell::Show
- Defined in:
- lib/alf/shell/command/show.rb
Instance Method Summary collapse
Instance Method Details
#compile(argv) ⇒ Object
21 22 23 24 25 |
# File 'lib/alf/shell/command/show.rb', line 21 def compile(argv) operand = operand(argv.shift) operand = sort(operand, argv.first) unless argv.empty? operand end |
#run(argv, requester) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/alf/shell/command/show.rb', line 13 def run(argv, requester) # set requester and parse options @requester = requester argv = (argv, :split) compile(argv) end |