Sha256: 396b85030d8a6cffa8722f5877985274fff7cc998359dbb3dc1e8d743ab2c8a1

Contents?: true

Size: 217 Bytes

Versions: 70

Compression:

Stored size: 217 Bytes

Contents

describe "Numeric#chr" do
  it "returns a string containing the ASCII character represented by self" do
    111.chr.should == 'o'
    112.chr.should == 'p'
    97.chr.should ==  'a'
    108.chr.should == 'l'
  end
end

Version data entries

70 entries across 70 versions & 3 rubygems

Version Path
opal-0.10.6 spec/opal/core/numeric/chr_spec.rb
opal-0.10.6.beta spec/opal/core/numeric/chr_spec.rb
opal-0.10.5 spec/opal/core/numeric/chr_spec.rb
opal-0.10.4 spec/opal/core/numeric/chr_spec.rb
opal-0.11.0.rc1 spec/opal/core/numeric/chr_spec.rb
opal-0.10.3 spec/opal/core/numeric/chr_spec.rb
opal-0.10.2 spec/opal/core/numeric/chr_spec.rb
opal-0.10.1 spec/opal/core/numeric/chr_spec.rb
opal-0.10.0 spec/opal/core/numeric/chr_spec.rb
opal-0.10.0.rc2 spec/opal/core/numeric/chr_spec.rb
opal-0.9.4 spec/opal/core/numeric/chr_spec.rb
opal-0.9.3 spec/opal/core/numeric/chr_spec.rb
opal-0.10.0.rc1 spec/opal/core/numeric/chr_spec.rb
opal-0.10.0.beta5 spec/opal/core/numeric/chr_spec.rb
opal-0.10.0.beta4 spec/opal/core/numeric/chr_spec.rb
opal-0.10.0.beta3 spec/opal/core/numeric/chr_spec.rb
opal-0.10.0.beta2 spec/opal/core/numeric/chr_spec.rb
opal-0.10.0.beta1 spec/opal/core/numeric/chr_spec.rb
opal-0.9.2 spec/opal/core/numeric/chr_spec.rb
opal-0.9.0 spec/opal/core/numeric/chr_spec.rb