Module: MIDICommunications::Platform

Extended by:
Platform
Included in:
Platform
Defined in:
lib/midi-communications/platform.rb

Overview

Deal with different dependencies between different user environments

Instance Method Summary collapse

Instance Method Details

#bootstrapObject

Loads the proper MIDI library and adapter for the user’s environment



8
9
10
11
# File 'lib/midi-communications/platform.rb', line 8

def bootstrap
  require("midi-communications/adapter/#{platform_lib}")
  Loader.use(platform_module::Loader)
end