# File lib/stringex/string_extensions.rb, line 97 97: def limit(limit = nil) 98: limit.nil? ? self : self[0...limit] 99: end