# File bin/el4r-instance, line 122 def check(x) @length ||= to_a.length Fixnum === x or raise TypeError, "must be Fixnum" @length <= x and raise ArgumentError, "Args out of range #{inspect}[#{x}]" end