Sha256: 0d29cdfff3f12f071853d40a030fab6cacea8626812d71465cef6cb9704ce3f6

Contents?: true

Size: 201 Bytes

Versions: 1

Compression:

Stored size: 201 Bytes

Contents

# frozen_string_literal: true

module Bullet
  module Ext
    module String
      refine ::String do
        def bullet_class_name
          sub(/:[^:]*?$/, '')
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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