Sha256: dbe40d0b0f0fcfbba6d65fc6e82f832a80507add89642b623bb2ed729624706c

Contents?: true

Size: 118 Bytes

Versions: 10

Compression:

Stored size: 118 Bytes

Contents

class String
  def demodulize
    if (i = rindex('::'))
      self[(i + 2)..-1]
    else
      self
    end
  end
end

Version data entries

10 entries across 8 versions & 2 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/gems/ruby-pushbullet-0.1.4/lib/core_ext/string.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/ruby-pushbullet-0.1.4/lib/core_ext/string.rb
tdiary-5.0.4 vendor/bundle/gems/ruby-pushbullet-0.1.4/lib/core_ext/string.rb
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/ruby-pushbullet-0.1.4/lib/core_ext/string.rb
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/ruby-pushbullet-0.1.4/lib/core_ext/string.rb
ruby-pushbullet-0.1.4 lib/core_ext/string.rb
ruby-pushbullet-0.1.3 lib/core_ext/string.rb
ruby-pushbullet-0.1.2 lib/core_ext/string.rb
ruby-pushbullet-0.1.1 lib/core_ext/string.rb
ruby-pushbullet-0.1 lib/core_ext/string.rb