Sha256: f9f408e2f2ba49b0ff760d87ec533602f00a7f4d6e7770c6cc5c0d219812a889

Contents?: true

Size: 126 Bytes

Versions: 1

Compression:

Stored size: 126 Bytes

Contents

# Educate Ruby 1.8.7 about the String#chr method.
class String
  def chr
    self[0..0]
  end unless method_defined? :chr
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asciidoctor-1.5.5 lib/asciidoctor/core_ext/1.8.7/string/chr.rb