lib/core/facets/module/basename.rb in facets-2.4.5 vs lib/core/facets/module/basename.rb in facets-2.5.0

- old
+ new

@@ -15,10 +15,10 @@ # # m = Module.new # m.inspect #=> "#<Module:0xb7bb0434>" # m.basename #=> "Module_0xb7bb0434" # - # CREDIT: Trans + # CREDIT: Trans def basename if name and not name.empty? name.gsub(/^.*::/, '') else