class RuboCop::RSpec::Example
Wrapper for RSpec examples
def definition
def definition if node.send_type? node else node.send_node end end
def doc_string
def doc_string extract_doc_string(definition) end
def implementation
def implementation extract_implementation(node) end
def metadata
def metadata extract_metadata(definition) end