Class: IfStub
- Inherits:
-
Object
- Object
- IfStub
- Defined in:
- lib/shell-proxy/posix/if.rb
Instance Method Summary collapse
- #__handle(buffer) ⇒ Object
-
#initialize(condition, &block) ⇒ IfStub
constructor
A new instance of IfStub.
Constructor Details
#initialize(condition, &block) ⇒ IfStub
Returns a new instance of IfStub.
2 3 4 5 |
# File 'lib/shell-proxy/posix/if.rb', line 2 def initialize(condition, &block) @condition = condition @block = block end |