Sha256: 2a52e5d4dec8ce0243893d8e7ce11cef24676a6dc502118031c5a51b400486f6
Contents?: true
Size: 593 Bytes
Versions: 14
Compression:
Stored size: 593 Bytes
Contents
require 'simctl/command' require 'simctl/device' require 'simctl/device_type' require 'simctl/list' require 'simctl/runtime' module SimCtl class << self def command return @command if defined?(@command) @command = SimCtl::Command.new end private def respond_to_missing?(method_name, include_private=false) command.respond_to?(method_name, include_private) end def method_missing(method_name, *args, &block) if command.respond_to?(method_name) return command.send(method_name, *args, &block) end super end end end
Version data entries
14 entries across 14 versions & 1 rubygems