It denotes a “character”. In ruby 1.8, this was represented by the ascii-code of the character. In Ruby 1.9, it’s a single-character String
.
More Related Contents:
- how to i add objects to an array ? ruby
- Converting an array of numbers to characters ruby [closed]
- Strange, unexpected behavior (disappearing/changing values) when using Hash default value, e.g. Hash.new([])
- Why are exclamation marks used in Ruby methods?
- Installed Ruby 1.9.3 with RVM but command line doesn’t show ruby -v
- How to select unique elements
- What is “main” in Ruby?
- How to modify PATH for Homebrew?
- Difference between a class and a module
- EventSource / Server-Sent Events through Nginx
- Why does string interpolation work in Ruby when there are no curly braces?
- How to implement an abstract class in Ruby
- Difference between various variables scopes in ruby
- Group hashes by keys and sum the values
- Generating GUIDs in Ruby
- Mac user and getting WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.7.3
- Valid email address regular expression? [duplicate]
- list of ruby operators that can be overridden/implemented
- Sort an array according to the elements of another array
- How to run all tests with minitest?
- What does class_eval
- Match a string against multiple patterns
- Ruby gsub doesn’t escape single-quotes
- Set time zone offset in Ruby
- What’s the precedence of ruby’s method call
- Ruby: Installing rmagick on Ubuntu
- How to understand the difference between class_eval() and instance_eval()?
- What is the best way to split a string to get all the substrings by Ruby?
- Insert digital signature into existing pdf file
- Read and write YAML files without destroying anchors and aliases?