Sha256: 7e0e99a1061071d273153fbaf5610dbc7aa7e2e6a31f8cabd45bca34575d2f5a
Contents?: true
Size: 287 Bytes
Versions: 2
Compression:
Stored size: 287 Bytes
Contents
module LensProtocol module OMA class Record attr_reader :label attr_reader :value def initialize label:, value: @label = label @value = value end def empty? Array(value).select(&:present?).empty? end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lens_protocol-0.2.1 | lib/lens_protocol/oma/record.rb |
lens_protocol-0.2.0 | lib/lens_protocol/oma/record.rb |