module VG::SO::GetModuleNameWithoutNamespace
Public Class Methods
call(string)
click to toggle source
# File lib/vg/s_o/get_module_name_without_namespace.rb, line 7 def self.call(string) string.match(/(?:::)*([A-Za-z0-9]+)$/)[1] end