Class: NoyesJava::BentCentMarker
- Inherits:
-
Object
- Object
- NoyesJava::BentCentMarker
- Defined in:
- lib/java_impl/bent_cent_marker.rb
Instance Method Summary collapse
- #<<(pcm) ⇒ Object
-
#initialize ⇒ BentCentMarker
constructor
A new instance of BentCentMarker.
- #logrms(pcm) ⇒ Object
Constructor Details
#initialize ⇒ BentCentMarker
Returns a new instance of BentCentMarker.
3 4 5 |
# File 'lib/java_impl/bent_cent_marker.rb', line 3 def initialize @bcm = Java::talkhouse.BentCentMarker.new end |
Instance Method Details
#<<(pcm) ⇒ Object
9 10 11 |
# File 'lib/java_impl/bent_cent_marker.rb', line 9 def << pcm @bcm.apply pcm.to_java(Java::double) end |
#logrms(pcm) ⇒ Object
6 7 8 |
# File 'lib/java_impl/bent_cent_marker.rb', line 6 def logrms pcm @bcm.logRMS pcm.to_java(Java::double) end |