= private = protected
at(position)
Returns the character at the position treating the string as an array (where 0 is the first character).
Examples:
"hello".at(0) # => "h" "hello".at(4) # => "o" "hello".at(10) # => nil
# File activesupport/lib/active_support/core_ext/string/access.rb, line 13 def at(position) chars[position, 1].to_s end