Method: CodeNode::SpecHelpers::DotFile#has_node?

Defined in:
lib/code_node/spec_helpers/dot_file.rb

#has_node?(path) ⇒ Boolean

Returns:

  • (Boolean)


43
44
45
# File 'lib/code_node/spec_helpers/dot_file.rb', line 43

def has_node?(path)
  has_class?(path) || has_module?(path)
end