Sha256: 1f74b42b71782a0dedc6d39cfc0e30a356d6902699ea0698a8a03ac82a06036e

Contents?: true

Size: 137 Bytes

Versions: 4

Compression:

Stored size: 137 Bytes

Contents

# frozen_string_literal: true

class Account
  private

  def filter_income(transactions)
    transactions.select(&:positive?)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
arstotzka-1.1.0 spec/support/models/account.rb
arstotzka-1.0.4 spec/support/models/account.rb
arstotzka-1.0.3 spec/support/models/account.rb
arstotzka-1.0.2 spec/support/models/account.rb