Sha256: d42004b94349d69f0a9197291ebf9c48ea65e714d51fa5d009831d1bd4d2bc73
Contents?: true
Size: 270 Bytes
Versions: 16
Compression:
Stored size: 270 Bytes
Contents
# frozen_string_literal: true class Store include Arstotzka expose :customers, klass: Customer, after: :filter_adults def initialize(json) @json = json end private attr_reader :json def filter_adults(values) values.select(&:adult?) end end
Version data entries
16 entries across 16 versions & 1 rubygems