Sha256: 3bab234efe0ec52d097ff0f8be27c4f883628289cd4918e26811873ef20f1495
Contents?: true
Size: 548 Bytes
Versions: 2
Compression:
Stored size: 548 Bytes
Contents
module ConsolidatedScreeningList class Result attr_reader :data def initialize(data) @data = data end def inspect "#<ConsolidatedScreeningList::Result name=\"#{name}\">" end def method_missing(method_name, *arguments, &block) if data.key?(method_name.to_s) data[method_name.to_s] else super end end def respond_to_missing?(method_name, include_private = false) if data.key?(method_name.to_s) true else super end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
consolidated_screening_list-0.0.2 | lib/consolidated_screening_list/result.rb |
consolidated_screening_list-0.0.1 | lib/consolidated_screening_list/result.rb |