Sha256: b3b233cf2e19871e3d20e477dda5339b603a9d5f7f46c759d3748cf552c1eb01

Contents?: true

Size: 97 Bytes

Versions: 4

Compression:

Stored size: 97 Bytes

Contents

class String
  def demodulize
    split('::').last
  end unless method_defined?(:demodulize)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
space-0.0.9 lib/core_ext/string/demodulize.rb
space-0.0.8 lib/core_ext/string/demodulize.rb
space-0.0.7 lib/core_ext/string/demodulize.rb
space-0.0.6 lib/core_ext/string/demodulize.rb