Sha256: 7576cb87d5640073ac66563f77d0199b12b10efb6035e684b56304be0a3552d3

Contents?: true

Size: 248 Bytes

Versions: 5

Compression:

Stored size: 248 Bytes

Contents

class Link
# сексуальный линк собственного производства
  def initialize(id)

    a = id.to_s.split('')
    @link = a.fill(0, a.length, 8 - a.length).join.to_i.to_s(36)

  end

  def get

    @link

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
digital_heroes_startkit-0.1.1.4 lib/link.rb
digital_heroes_startkit-0.1.1.3 lib/link.rb
digital_heroes_startkit-0.1.1.2 lib/link.rb
digital_heroes_startkit-0.1.1.1 lib/link.rb
digital_heroes_startkit-0.1.1 lib/link.rb