lib/punchblock/component/output.rb in punchblock-0.7.1 vs lib/punchblock/component/output.rb in punchblock-0.7.2
- old
+ new
@@ -107,17 +107,21 @@
##
# @return [String] the TTS voice to use
#
def max_time
- read_attr(:'max-time').to_i
+ read_attr :'max-time', :to_i
end
##
# @param [String] voice to use when rendering TTS
#
def max_time=(other)
write_attr :'max-time', other
+ end
+
+ def inspect_attributes
+ super + [:interrupt_on, :start_offset, :start_paused, :repeat_interval, :repeat_times, :max_time]
end
state_machine :state do
event :paused do
transition :executing => :paused