Module: Tonal
- Defined in:
- lib/tonal/tools.rb,
lib/tonal/irb_helpers.rb,
lib/tonal/attributions.rb
Defined Under Namespace
Modules: IRBHelpers Classes: Cents, Comma, Hertz, Interval, Log, Log2, Ratio, ReducedRatio, Step
Constant Summary collapse
- TOOLS_PRODUCER =
"mTonal"
- TOOLS_VERSION =
"6.2.1"
Class Method Summary collapse
Class Method Details
.include_irb_helpers ⇒ Object
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.
42 43 44 |
# File 'lib/tonal/irb_helpers.rb', line 42 def self.include_irb_helpers Object.include(IRBHelpers) end |