lib/fasterer/rescue_call.rb in fasterer-0.1.8 vs lib/fasterer/rescue_call.rb in fasterer-0.1.9
- old
+ new
@@ -19,18 +19,7 @@
rescue_reference[1]
end
end.compact
end
- def set_multiple_rescue_classes
- @rescue_classes = element[1].drop(1).map do |rescue_reference|
- rescue_reference.flatten[2]
- end
- end
-
- def set_single_rescue_class
- if element[1][0][0] == :var_ref
- @rescue_classes = Array(element[1][0][1][1])
- end
- end
end
end