Class: RubyShell::ChainContext
- Inherits:
-
Object
- Object
- RubyShell::ChainContext
- Defined in:
- lib/rubyshell/chain_context.rb
Class Method Summary collapse
- .method_missing(method_name, *args, &block) ⇒ Object
- .respond_to_missing?(_name, _include_private) ⇒ Boolean
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
9 10 11 |
# File 'lib/rubyshell/chain_context.rb', line 9 def self.respond_to_missing?(_name, _include_private) false end |