Sha256: 6d0b6bf07a9afcc720455cbeb0df7bf339273a18ea7bf877f97a803d3e1d0ba9
Contents?: true
Size: 305 Bytes
Versions: 1
Compression:
Stored size: 305 Bytes
Contents
shared_context "AllCharacters" do def self.allCharactersExceptNull allCharacters(1) end def self.allCharacters(floor = 0) s = (floor..255).to_a.collect do |i| i.chr end.join if s.respond_to?(:force_encoding) s = s.force_encoding('ASCII-8BIT') end s end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sqlpostgres-1.3.0 | spec/support/all_characters.rb |