Sha256: 290989fb31d05a58667cfb108c4546e0ec2af04d9943fdafc89cf27dd1722248

Contents?: true

Size: 186 Bytes

Versions: 1

Compression:

Stored size: 186 Bytes

Contents

module Tippsy
  class Builder
    def initialize total:, gratuitiy:
      @total = total
      @gratuity = gratuitiy
    end

    def calculate
      @total * @gratuity
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tippsy-0.1.0 lib/tippsy/builder.rb