Sha256: 267f64970de0d501455272fc39791a16222d3a3ea794beb0a74bc79a633b4a15
Contents?: true
Size: 304 Bytes
Versions: 8
Compression:
Stored size: 304 Bytes
Contents
require 'hamster/list' module Hamster module CoreExt module IO def to_list(sep = $/) line = gets(sep) if line Stream.new(line) { to_list } else EmptyList end end end end end class IO include Hamster::CoreExt::IO end
Version data entries
8 entries across 8 versions & 1 rubygems