Sha256: ff3d6971f75ecb23b581a00688e96d0a3a3a8d53e5a1f9fefd389b4b10e4261c

Contents?: true

Size: 121 Bytes

Versions: 1

Compression:

Stored size: 121 Bytes

Contents

# frozen_string_literal: true

class Symbol
  def chop
    to_s.chop.to_sym
  end

  def last
    slice(-1, 1)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hash_dot-2.5.0 lib/symbol.rb