about summary refs log tree commit diff
path: root/app/lib/command_tag/commands/hello_world.rb
blob: 2341d22e2e633690b6b78df0268d1e32822450e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module CommandTag::Commands::HelloWorld
  def initialize_helloworld!
    @vars['hello_world'] = ['Hello, world!']
  end

  def handle_hello_world_at_start(_)
    @text << "\nHello, world!"
  end
end