When I do puts method_name
inside #respond_to_missing?
, it outputs begin
,
so it looks like it's treating self
as if it were a Range
.
This is the RSpec output:
An error occurred while loading ./spec/value_semantics_spec.rb.
Failure/Error: first_letter = method_name[self]
SystemStackError:
stack level too deep