examples/hello_world.rb in pallets-0.3.0 vs examples/hello_world.rb in pallets-0.4.0
- old
+ new
@@ -1,8 +1,8 @@
require 'pallets'
class HelloWorld < Pallets::Workflow
- task :echo
+ task 'Echo'
end
class Echo < Pallets::Task
def run
puts 'Hello World!'