Module: OSCAccess::Analog
- Defined in:
- lib/osc-access/translate.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.new(from, to, options = {}) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/osc-access/translate.rb', line 6 def self.new(from, to, = {}) case to when Array then Output::Set.new(Input.new(from), to, ) when ::Range then Output::Range.new(Input.new(from), to, ) end end |