Class: IRB::Kit::Helpers::Paste
- Inherits:
-
HelperMethod::Base
- Object
- HelperMethod::Base
- IRB::Kit::Helpers::Paste
- Defined in:
- lib/irb/kit/helpers/paste.rb
Overview
Pastes last entry from macOS clipboard.
Constant Summary collapse
- MONIKER =
:paste
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(handler: Handlers::Paster.new) ⇒ Paste
constructor
A new instance of Paste.
Constructor Details
Instance Method Details
#execute ⇒ Object
17 |
# File 'lib/irb/kit/helpers/paste.rb', line 17 def execute = handler.call |