Skip to content

Commit 1d6db52

Browse files
committed
Remove unused #update method
1 parent f9c64fd commit 1d6db52

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mrblib/mrb_esp32_mqtt.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ def subscribe(topic, &block)
2020
def on_message_from(topic, &block)
2121
@callbacks[topic] = block if block
2222
end
23-
24-
def update(topic, message)
25-
@callbacks[topic].call(message) if @callbacks[topic]
26-
end
2723
end
2824
end
2925
end

0 commit comments

Comments
 (0)