Module: MatrixCreator
- Defined in:
- lib/matrix_creator.rb,
lib/matrix_creator/uv.rb,
lib/matrix_creator/imu.rb,
lib/matrix_creator/comm.rb,
lib/matrix_creator/vision.rb,
lib/matrix_creator/version.rb,
lib/matrix_creator/everloop.rb,
lib/matrix_creator/humidity.rb,
lib/matrix_creator/pressure.rb,
lib/matrix_creator/driver_base.rb,
lib/matrix_creator/everloop/color.rb,
lib/matrix_creator/everloop/pulse.rb,
lib/matrix_creator/everloop/spinner.rb,
lib/matrix_creator/everloop/animation.rb
Overview
Main module for Matrix Creator
Defined Under Namespace
Modules: DriverBase, Everloop, Humidity, Imu, Pressure, Uv, Vision Classes: Comm
Constant Summary collapse
- VERSION =
Returns the version of the gem
'1.0.0'.freeze
Class Method Summary collapse
-
.settings ⇒ Hash
Returns a hash of settings to be used by Matrix Creator.
Class Method Details
.settings ⇒ Hash
Returns a hash of settings to be used by Matrix Creator
15 16 17 18 19 20 |
# File 'lib/matrix_creator.rb', line 15 def self.settings @@_matrix_creator_config ||= JSON.parse( JSON.dump(YAML.load_file('config/matrix_creator.yml')), symbolize_names: true )[:matrix] end |