Sha256: b721985e8110ef055ce2cbcb5dab899b73b29dda59d0342fe81fdd1f3ee5917c
Contents?: true
Size: 226 Bytes
Versions: 2
Compression:
Stored size: 226 Bytes
Contents
class StarGazer include JsonParser json_parse :favorite_star, full_path: 'universe.star', default: { name: 'Sun' }, class: ::Star attr_reader :json def initialize(json = {}) @json = json end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
json_parser-1.3.1 | spec/support/models/star_gazer.rb |
json_parser-1.3.0 | spec/support/models/star_gazer.rb |