Class: MetricFu::ClassMethodNode

Inherits:
SexpNode
  • Object
show all
Defined in:
lib/metric_fu/data_structures/sexp_node.rb

Instance Attribute Summary

Attributes inherited from SexpNode

#sexp

Instance Method Summary collapse

Methods inherited from SexpNode

#class_method_separator, #each_class, #each_class_method, #each_instance_method, #each_module, #each_of_type, #each_singleton_class, #first_line, #full_method_name, #hide_methods_from_next_round, #instance_method_separator, #last_line, #line_range, #module_namespace, #nil?, #node_type, parse

Instance Method Details

#full_name(module_name, class_name) ⇒ Object



89
90
91
# File 'lib/metric_fu/data_structures/sexp_node.rb', line 89

def full_name(module_name, class_name)
  full_method_name(class_method_separator, class_name, module_name)
end

#nameObject



85
86
87
# File 'lib/metric_fu/data_structures/sexp_node.rb', line 85

def name
  sexp[2]
end