Sha256: 051a3d35edec29c6ded59af06a35bce710fea6be13eeef96e062d59256ad1d18

Contents?: true

Size: 83 Bytes

Versions: 1

Compression:

Stored size: 83 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bullet-5.6.0 lib/bullet/ext/string.rb