class Fusuma::Plugin::Detectors::RotateDetector::Quantity
quantity of gesture
Public Class Methods
new(angle:)
click to toggle source
# File lib/fusuma/plugin/detectors/rotate_detector.rb, line 158 def initialize(angle:) @angle = angle.abs end
Public Instance Methods
to_f()
click to toggle source
# File lib/fusuma/plugin/detectors/rotate_detector.rb, line 162 def to_f @angle.to_f end