lib/inch/language/ruby/provider/yard/object/method_signature.rb in inch-0.5.0.rc5 vs lib/inch/language/ruby/provider/yard/object/method_signature.rb in inch-0.5.0.rc6

- old
+ new

@@ -58,11 +58,11 @@ end # Returns the actual signature of the method. # @return [String] def signature - relevant_object.signature.gsub(/^(def\ )/, "") + relevant_object.signature.gsub(/^(def\ )/, '') end private def all_parameter_names @@ -93,10 +93,10 @@ # (sometimes used to indicate optional parameters in overload # signatures). # @param name [String] parameter name # @return [String] def normalize_parameter_name(name) - name.gsub(/[\&\*\$\[\]]/, "") + name.gsub(/[\&\*\$\[\]]/, '') end def parameter_tag(param_name) parameter_tags.find do |tag| tag.name == param_name