huginn

https://github.com/cantino/huginn

Ruby

Create agents that monitor and act on your behalf. Your agents are standing by!

LiquidInterpolatable#interpolate_with

Take the given object as "self" in the current interpolation
context while running a given block.

The most typical use case for this is to evaluate options for each
received event like this:

    def receive(incoming_events)
      incoming_events.each do |event|
        interpolate_with(event) do
          # Handle each event based on "interpolated" options.
        end
      end
    end

Source | Google | Stack overflow

Edit

git clone [email protected]:cantino/huginn.git

cd huginn

open app/concerns/liquid_interpolatable.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-LiquidInterpolatable-interpolate_with-for-pr


# Commit to git

git add app/concerns/liquid_interpolatable.rbgit commit -m "better docs for LiquidInterpolatable#interpolate_with"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-LiquidInterpolatable-interpolate_with-for-pr

hub pull-request


# Celebrate!