Module: Tonal

Defined in:
lib/tonal/tools.rb,
lib/tonal/irb_helpers.rb,
lib/tonal/attributions.rb

Defined Under Namespace

Modules: ExtendableRatio, IRBHelpers Classes: Cents, Comma, ExtendedRatio, Hertz, Interval, Log, Log2, Ratio, ReducedRatio, Step, SubharmonicExtendedRatio

Constant Summary collapse

TOOLS_PRODUCER =
"mTonal"
TOOLS_VERSION =
"7.4.0"

Class Method Summary collapse

Class Method Details

.include_irb_helpersObject

Note:

Intended for activation from ~/.irbrc, by placing: ENV[“MTONAL_IRB_HELPERS” ] = “1”, in the file

Invoking this command from the IRB will add the helper methods: r, rr, i in main. These methods represent Ratio, ReducedRatio and Interval respectively.

See Also:



46
47
48
# File 'lib/tonal/irb_helpers.rb', line 46

def self.include_irb_helpers
  Object.include(IRBHelpers)
end