Class: Elasticshell::Commands::Blank

Inherits:
Elasticshell::Command show all
Defined in:
lib/elasticshell/commands/blank.rb

Instance Attribute Summary

Attributes inherited from Elasticshell::Command

#input, #shell

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Elasticshell::Command

#be_connected!, #initialize

Constructor Details

This class inherits a constructor from Elasticshell::Command

Class Method Details

.matches?(input) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/elasticshell/commands/blank.rb', line 5

def self.matches? input
  input.empty?
end

Instance Method Details

#evaluate!Object



9
10
# File 'lib/elasticshell/commands/blank.rb', line 9

def evaluate!
end