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

- old
+ new

@@ -9,10 +9,10 @@ # # Example::Demo.modspace #=> Example # # See also Module#basename. # - # CREDIT: Trans + # CREDIT: Trans def modspace space = name[ 0...(name.rindex( '::' ) || 0)] space.empty? ? Object : eval(space) end