Class: IRB::Kit::Helpers::Clip
- Inherits:
-
HelperMethod::Base
- Object
- HelperMethod::Base
- IRB::Kit::Helpers::Clip
- Defined in:
- lib/irb/kit/helpers/clip.rb
Overview
Copies input to macOS clipboard.
Constant Summary collapse
- MONIKER =
:clip
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(handler: Handlers::Clipper.new) ⇒ Clip
constructor
A new instance of Clip.
Constructor Details
Instance Method Details
#execute ⇒ Object
17 |
# File 'lib/irb/kit/helpers/clip.rb', line 17 def execute(*) = handler.call(*) |