$ rails c
> puts 'Hello'
Hello
=> nil
> capture(:stdout) { puts 'Hello' }
=> "Hello\n"
Last active
August 29, 2015 14:12
-
-
Save juno/8d113727c5feb4680320 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment