Module LiveTree
In: live_tree.rb
Version:0.1
Author:Emanuel Borsboom (www.epiphyte.ca/)
Copyright:Copyright © 2005 Emanuel Borsboom
License:MIT (see LICENSE)

See README for general information about LiveTree.

Methods

Classes and Modules

Module LiveTree::ClassMethods
Module LiveTree::LiveTreeHelper

Public Instance methods

Renders data to return to a LiveTree data request.

Arguments:

  • item - Item to return.
  • options - May contain the following:
    • :get_item_name_proc - Proc object which, when called with an item, returns the name of the item to display. (by default, the item’s name is retrieved using the object’s name attribute).

Returns the value of the item ID from the request’s params.

[Validate]