lib/demiurge/action_item.rb
# Make an offer of this ActionIntention and see if it is cancelled
# or modified.  By default, offers are coordinated through the
# item's location.
#
# return [void]
# @since 0.0.1
# @note This method changed signature in 0.2.0 to stop taking an intention ID.
Make an offer of this ActionIntention and see if it is cancelled
or modified.  By default, offers are coordinated through the
item's location.

return [void]
Make an offer of this ActionIntention and see if it is cancelled or modified . By default offers are coordinated through the item ' s location . return [ void ]
def offer
      loc = @item.location || @item.zone
      @engine.push_context("offered_action" => @action_name, "offered_location" => loc.name, "offering_item" => @item.name) do
        loc.receive_offer(@action_name, self)
      end
    end
def offer loc = @item . location || @item . zone @engine . push_context ( "offered_action" => @action_name , "offered_location" => loc . name , "offering_item" => @item . name ) do loc . receive_offer ( @action_name , self ) end end
Make an offer of this ActionIntention and see if it is cancelled
or modified.
Make an offer of this ActionIntention and see if it is cancelled or modified .
since
None
note
This method changed signature in 0.2.0 to stop taking an intention ID.
This method changed signature in 0 . 2 . 0 to stop taking an intention ID .