Sha256: 6fa71f87abe3aa27298141f839133454c5dfc90551f237be1473599cab48c854
Contents?: true
Size: 230 Bytes
Versions: 4
Compression:
Stored size: 230 Bytes
Contents
module Strings def join(separator='') ->(a, b) { "#{a}#{separator}#{b}" } end def to_characters ->(string) { Sequence.new(character_enumerator(string)) } end def to_string ->(value) { value.to_s } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
totally_lazy-0.1.11 | lib/strings.rb |
totally_lazy-0.1.10 | lib/strings.rb |
totally_lazy-0.1.9 | lib/strings.rb |
totally_lazy-0.1.0 | lib/strings.rb |