Class: RubyShell::ChainContext

Inherits:
Object
  • Object
show all
Defined in:
lib/rubyshell/chain_context.rb

Class Method Summary collapse

Class Method Details

.method_missing(method_name, *args, &block) ⇒ Object



5
6
7
# File 'lib/rubyshell/chain_context.rb', line 5

def self.method_missing(method_name, *args, &block)
  RubyShell::Chainer.new(RubyShell::Command.new(method_name, *(args << { _manual: true }), &block))
end

.respond_to_missing?(_name, _include_private) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/rubyshell/chain_context.rb', line 9

def self.respond_to_missing?(_name, _include_private)
  false
end