assert_no_tag

assert_no_tag(*opts) Instance Public methods Identical to assert_tag, but asserts that a matching tag does not exist. (See assert_tag for a full discussion of the syntax.) # Assert that there is not a "div" containing a "p" assert_no_tag tag: "div", descendant: { tag: "p" } # Assert that an unordered list is empty assert_no_tag tag: "ul", descendant: { tag: "li" } # Assert that there is not a "p" tag with between 1 to 3 "img" tags # as immediate children assert_no_tag tag: "p",

display_wordstart

display_wordstart() Instance Public methods

get_owner 2

get_owner(sel=nil) Instance Public methods

ole_typelib

WIN32OLE_TYPE#ole_typelib Instance Public methods Returns the WIN32OLE_TYPELIB object which is including the WIN32OLE_TYPE object. If it is not found, then returns nil. tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Worksheet') puts tobj.ole_typelib # => 'Microsoft Excel 9.0 Object Library'

converters

converters() Instance Public methods Returns the current list of converters in effect. See ::new for details. Built-in converters will be returned by name, while others will be returned as is.

edit

edit(item, text, *args) Instance Public methods

merge

merge(p1) Instance Public methods Alias for: configure

helper

helper(*args, &block) Instance Public methods The helper class method can take a series of helper module names, a block, or both. Options *args - Module, Symbol, String block - A block defining helper methods When the argument is a module it will be included directly in the template class. helper FooHelper # => includes FooHelper When the argument is a string or symbol, the method will provide the â_helperâ suffix, require the file and include the module in the templa

define_callbacks

define_callbacks(*names) Instance Public methods Define sets of events in the object life cycle that support callbacks. define_callbacks :validate define_callbacks :initialize, :save, :destroy Options :terminator - Determines when a before filter will halt the callback chain, preventing following callbacks from being called and the event from being triggered. This should be a lambda to be executed. The current object and the return result of the callback will be called with the l

new

new(chart, element=nil, keys={}) Class Public methods