Class: Ellipses::Client::Commands::Reject

Inherits:
Ellipses::Client::Command show all
Includes:
Ellipses::Client::Command::Mixins::SetupPattern
Defined in:
lib/ellipses/client/commands/reject.rb

Constant Summary

Constants inherited from Ellipses::Client::Command

Ellipses::Client::Command::Error

Instance Attribute Summary

Attributes inherited from Ellipses::Client::Command

#argv, #server

Instance Method Summary collapse

Methods included from Ellipses::Client::Command::Mixins::SetupPattern

#patternize, #setup

Methods inherited from Ellipses::Client::Command

#error, #initialize, #setup, #to_s

Methods included from Ellipses::Client::Command::DSL

#command

Constructor Details

This class inherits a constructor from Ellipses::Client::Command

Instance Method Details

#call(input) ⇒ Object



11
12
13
# File 'lib/ellipses/client/commands/reject.rb', line 11

def call(input)
  input.grep_v param.pattern
end