anilmaurya (Anil Maurya)
- Login: anilmaurya
- Registered on: 01/12/2016
- Last sign in: 01/13/2016
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
01/12/2016
-
02:18 PM Ruby Bug #11983 (Rejected): define_method not raising error for invalid method name
- ## Steps to Reproduce:
Inside irb:
~~~ruby
Class A
end
A.send(:define_method, "may_run!?") do |*args, &block|
p "random text"
end
a = A.new
a.may_run!?
~~~
* never return from this function.
------------------...