Method: Transpec::Syntax::RaiseError.target_method?
- Defined in:
- lib/transpec/syntax/raise_error.rb
.target_method?(receiver_node, method_name) ⇒ Boolean
11 12 13 |
# File 'lib/transpec/syntax/raise_error.rb', line 11 def self.target_method?(receiver_node, method_name) receiver_node.nil? && method_name == :raise_error end |