A library of utility services and concerns.
A library of utility services and concerns to expand the functionality of core classes without polluting the global namespace.
This is the documentation for the current development build of SleepingKingStudios::Tools.
Add the gem to your Gemfile or gemspec:
gem 'sleeping_king_studios-tools'
Require SleepingKingStudios::Tools in your code:
require 'sleeping_king_studios/tools'
To ensure that message definitions are loaded, call the SleepingKingStudios::Tools initializer:
In the initializer for your project:
module Space
@initializer = SleepingKingStudios::Tools::Toolbox::Initializer.new do
SleepingKingStudios::Tools::Toolbox.initializer.call
end
end
Or, in the entry points of your application (such as a bin script or spec_helper.rb).
SleepingKingStudios::Tools defines the following tools:
It also provides a set of utility classes:
Data subclasses with inheritable members and methods.For a full list of defined classes and objects, see Reference.