Created
July 7, 2022 14:00
-
-
Save sled/d829de504a557273fb348dda0ec42c07 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
source 'https://rubygems.org' | |
ruby '>= 2.7' | |
gem 'stringio', '3.0.2' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GEM | |
remote: https://rubygems.org/ | |
specs: | |
stringio (3.0.2) | |
PLATFORMS | |
x86_64-linux | |
DEPENDENCIES | |
stringio (= 3.0.2) | |
RUBY VERSION | |
ruby 2.7.6p219 | |
BUNDLED WITH | |
2.3.17 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'bundler/setup' | |
require 'stringio' | |
puts StringIO.new("Hello").read |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment