Sha256: 65470cd562251630a7dc3358f42e820fd96a6ff6c8465432e698b367473aef5a

Contents?: true

Size: 166 Bytes

Versions: 1

Compression:

Stored size: 166 Bytes

Contents

# frozen_string_literal: true

puts __FILE__ if defined?(DEBUG)

class String
  def fix(size, padstr = " ")
    self[0...size].rjust(size, padstr)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dev-2.1.154 lib/base/string.rb