diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-20 03:58:14 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:44:01 -0500 |
commit | 3366a957219b15f5ab6f6eabbf5466e1e12082de (patch) | |
tree | 83397d725b7b93070137854e849a0afcc421f553 /app/lib/command_tag/commands/hello_world.rb | |
parent | 21438b54bdaf3c557ec9ebbc482a2c418d8c64f8 (diff) |
[Feature] Add command tags; add #!edit and #!publish commands for mobile users
Diffstat (limited to 'app/lib/command_tag/commands/hello_world.rb')
-rw-r--r-- | app/lib/command_tag/commands/hello_world.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/lib/command_tag/commands/hello_world.rb b/app/lib/command_tag/commands/hello_world.rb new file mode 100644 index 000000000..4cf17685e --- /dev/null +++ b/app/lib/command_tag/commands/hello_world.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CommandTag::Commands::HelloWorld + def handle_hello_world_at_start + @text << "\nHello, world!" + end +end |