lib/polyfill/v2_4/string_io/instance/gets.rb in polyfill-0.3.0 vs lib/polyfill/v2_4/string_io/instance/gets.rb in polyfill-0.4.0
- old
+ new
@@ -1,17 +1,15 @@
module Polyfill
module V2_4
module StringIO
module Instance
module Gets
- if RUBY_VERSION < '2.4.0'
- refine ::StringIO do
- include IO::Instance::Gets::Method
- end
+ refine ::StringIO do
+ include IO::Instance::Gets::Method
+ end
- def self.included(base)
- base.include IO::Instance::Gets::Method
- end
+ def self.included(base)
+ base.include IO::Instance::Gets::Method
end
end
end
end
end