You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I mimic this by adding these two methods to my ~/.irbrc, which use the pbcopy and pbpaste command line utilities.
# Copies the input to the user's clipboard.defpbcopy(input)str=input.to_sIO.popen('pbcopy','w'){ |f| f << str}strend# Returns a string containing the contents of the user's clipboard.defpbpaste`pbpaste`end
It could be very helpful to have a command to copy IRB's output without manually selecting a (potentially huge) chunk of text. For example:
Things to consider:
The text was updated successfully, but these errors were encountered: