Sha256: 1e872a9e3690cf526b4cc5fa625ab79c51f5a739605400f9b454c094b368e6c4

Contents?: true

Size: 194 Bytes

Versions: 3

Compression:

Stored size: 194 Bytes

Contents

# encoding: utf-8

class FileSize
  attr_accessor :value, :suffix

  def initialize(value:, suffix:)
    @value = value
    @suffix = suffix
  end

  def to_s
    "#{value} #{suffix}"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
test_server-0.5.2 lib/test_server/file_size.rb
test_server-0.5.1 lib/test_server/file_size.rb
test_server-0.5.0 lib/test_server/file_size.rb