lib/fusuma/plugin/buffers/timer_buffer.rb in fusuma-2.0.0.pre vs lib/fusuma/plugin/buffers/timer_buffer.rb in fusuma-2.0.0.pre2
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
-require_relative './buffer.rb'
+require_relative './buffer'
module Fusuma
module Plugin
module Buffers
# manage events and generate command
@@ -10,11 +10,11 @@
DEFAULT_SOURCE = 'timer_input'
DEFAULT_SECONDS_TO_KEEP = 60
def config_param_types
{
- 'source': [String],
- 'seconds_to_keep': [Float, Integer]
+ source: [String],
+ seconds_to_keep: [Float, Integer]
}
end
# @param event [Event]
# @return [Buffer, NilClass]