Sha256: a722e402c5cab5b058aa0601af1cca5df66b97018f8639d76f6e14aff921bfd4
Contents?: true
Size: 334 Bytes
Versions: 17
Compression:
Stored size: 334 Bytes
Contents
# frozen_string_literal: true class StarGazer include Arstotzka expose :favorite_star, full_path: 'universe.star', default: { name: 'Sun' }, klass: ::Star attr_reader :json def initialize(json = {}) @json = json end private def only_yellow(stars) stars.select(&:yellow?) end end
Version data entries
17 entries across 17 versions & 1 rubygems