trailblazer

https://github.com/trailblazer/trailblazer

Ruby

The advanced business logic framework for Ruby.

Trailblazer::Activity::Task.Binary

Task::Binary aka "step"
Step is binary task: true=> Right, false=>Left.
Step call proc.(options, flow_options)
Step is supposed to run Option::KW, so `step` should be Option::KW.

Returns task to call the proc with (options, flow_options), omitting `direction`.
When called, the task always returns a direction signal.

Source | Google | Stack overflow

Edit

git clone [email protected]:trailblazer/trailblazer.git

cd trailblazer

open lib/trailblazer/task.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Trailblazer--Activity--Task-Binary-for-pr


# Commit to git

git add lib/trailblazer/task.rbgit commit -m "better docs for Trailblazer::Activity::Task.Binary"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Trailblazer--Activity--Task-Binary-for-pr

hub pull-request


# Celebrate!