Sha256: 199be8900eee3b64ee71560b46015ea0d9690fb1d0fac1cbbfed19560033f7fc

Contents?: true

Size: 83 Bytes

Versions: 2

Compression:

Stored size: 83 Bytes

Contents

class String
  def bullet_class_name
    self.sub(/:[^:]*?$/, ''.freeze)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bullet-5.7.0 lib/bullet/ext/string.rb
bullet-5.6.1 lib/bullet/ext/string.rb