Sha256: a6e01fc7d0d8ce0a37b3e16634133972129c799d7c33dcfc8f956dff0ecc6415

Contents?: true

Size: 193 Bytes

Versions: 5

Compression:

Stored size: 193 Bytes

Contents

# frozen_string_literal: true
module ErubisHelper
  def self.tabs(amount = 1)
    (0..amount).map { "\t" }.join
  end

  def self.spaces(amount = 1)
    (0..amount).map { "\s" }.join
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
usps-ruby-client-0.2.0 lib/helpers/erubis_helper.rb
usps-ruby-client-0.1.3 lib/helpers/erubis_helper.rb
usps-ruby-client-0.1.2 lib/helpers/erubis_helper.rb
usps-ruby-client-0.1.1 lib/helpers/erubis_helper.rb
usps-ruby-client-0.1.0 lib/helpers/erubis_helper.rb