Ruby 1.9 compat: use method_defined? instead of instance_methods.include? ...
Ruby 1.9 compat: use method_defined? instead of instance_methods.include? Don't encourage args abuse by flattening.
Showing
想要评论请 注册 或 登录
Ruby 1.9 compat: use method_defined? instead of instance_methods.include? Don't encourage args abuse by flattening.