Sha256: ae72b004c2dbb9ec67d7b231d259ce4a47c12b0460c2ce1cbce1a0a767f8ae15

Contents?: true

Size: 76 Bytes

Versions: 54

Compression:

Stored size: 76 Bytes

Contents

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

Version data entries

54 entries across 54 versions & 2 rubygems

Version Path
bullet-4.6.0 lib/bullet/ext/string.rb
bullet-4.5.0 lib/bullet/ext/string.rb
bullet-4.4.0 lib/bullet/ext/string.rb
bullet-4.3.1 lib/bullet/ext/string.rb
bullet-4.3.0 lib/bullet/ext/string.rb
bullet-4.2.0 lib/bullet/ext/string.rb
bullet-4.1.6 lib/bullet/ext/string.rb
bullet-4.1.5 lib/bullet/ext/string.rb
bullet-4.1.4 lib/bullet/ext/string.rb
bullet-4.1.3 lib/bullet/ext/string.rb
bullet-4.1.2 lib/bullet/ext/string.rb
bullet-4.1.1 lib/bullet/ext/string.rb
bullet-4.1.0 lib/bullet/ext/string.rb
bullet-4.0.0 lib/bullet/ext/string.rb