about summary refs log tree commit diff
path: root/app/lib/command_tag/commands/hello_world.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/command_tag/commands/hello_world.rb')
-rw-r--r--app/lib/command_tag/commands/hello_world.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/command_tag/commands/hello_world.rb b/app/lib/command_tag/commands/hello_world.rb
index 2341d22e2..d67f65333 100644
--- a/app/lib/command_tag/commands/hello_world.rb
+++ b/app/lib/command_tag/commands/hello_world.rb
@@ -5,7 +5,7 @@ module CommandTag::Commands::HelloWorld
     @vars['hello_world'] = ['Hello, world!']
   end
 
-  def handle_hello_world_at_start(_)
-    @text << "\nHello, world!"
+  def handle_hello_world_with_return(_)
+    'Hello, world!'
   end
 end