to_ary is a method of Object. A Range is an Object. I don't really care - as I said already, I don't use ranges.
to_a works.
to_a works.
It doesn't document Ruby, it documents RGSS.
puts Object.instance_methods
I see you're already following my advice. Thumbs up!
Range includes Enumerable.
Range.instance_method(:to_a).owner # => Enumerable
sprintf("%.1e", 1.0e+09).sub(/(?<=[Ee][+-])0?(\d)/, '\1')
s = sprintf('%.1e', f)if s[-2] == '0' s[-2] = ''endp s
words.each do |word| if word != redact print word + " " else print "REDACTED " endend
Your best bet would be a custom input script.
Original thread: https://forums.rpgmakerweb.com/threads/ruby-rgssx-questions-that-dont-deserve-their-own-thread.150/