# File lib/active_support/core_ext/string/access.rb, line 32 def to(position) chars[0..position].to_s end