def get_keyboard_info(computer_id); end end class Computer def initialize(id, data_source) @id = id @data_source = data_source end def method_missing(name) @data_source.send(“get_#{name}_info, @id end def respond_to_missing?(method, include_private = false) @data_source.respond_to?(“get_#{method}_info”) || super end end