Sha256: a4668d4a7f83f542c89898d1f7df8281f6f1684e1fa2697dcb8a8d3c9485323d
Contents?: true
Size: 210 Bytes
Versions: 17
Compression:
Stored size: 210 Bytes
Contents
# frozen_string_literal: true class Account def initialize(json = {}) @json = json end private attr_reader :json def filter_income(transactions) transactions.select(&:positive?) end end
Version data entries
17 entries across 17 versions & 1 rubygems