class ConsolidatedScreeningList::Result

Attributes

data[R]

Public Class Methods

new(data) click to toggle source
# File lib/consolidated_screening_list/result.rb, line 5
def initialize(data)
  @data = data
end

Public Instance Methods

inspect() click to toggle source
# File lib/consolidated_screening_list/result.rb, line 9
def inspect
  "#<ConsolidatedScreeningList::Result name=\"#{name}\">"
end
method_missing(method_name, *arguments, &block) click to toggle source
Calls superclass method
# File lib/consolidated_screening_list/result.rb, line 13
def method_missing(method_name, *arguments, &block)
  if data.key?(method_name.to_s)
    data[method_name.to_s]
  else
    super
  end
end
respond_to_missing?(method_name, include_private = false) click to toggle source
Calls superclass method
# File lib/consolidated_screening_list/result.rb, line 21
def respond_to_missing?(method_name, include_private = false)
  if data.key?(method_name.to_s)
    true
  else
    super
  end
end