Skip to content

Instantly share code, notes, and snippets.

@sled
Created July 7, 2022 14:00
Show Gist options
  • Save sled/d829de504a557273fb348dda0ec42c07 to your computer and use it in GitHub Desktop.
Save sled/d829de504a557273fb348dda0ec42c07 to your computer and use it in GitHub Desktop.
# frozen_string_literal: true
source 'https://rubygems.org'
ruby '>= 2.7'
gem 'stringio', '3.0.2'
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
#!/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