add_nonce

add_nonce(p1 = v1) Instance Public methods

start_sequence

start_sequence(anchor, tag, implicit, style) Instance Public methods Called when a sequence is started. anchor is the anchor associated with the sequence or nil. tag is the tag associated with the sequence or nil. implicit a boolean indicating whether or not the sequence was implicitly started. style is an integer indicating the list style. See the constants in Psych::Nodes::Sequence for the possible values of style. Example Here is a YAML document that exercises most of the possib

path

path() Instance Public methods Returns the path of this instruction sequence. <compiled> if the iseq was evaluated from a string. For example, using irb: iseq = RubyVM::InstructionSequence.compile('num = 1 + 2') #=> <RubyVM::InstructionSequence:<compiled>@<compiled>> iseq.path #=> "<compiled>" Using ::compile_file: # /tmp/method.rb def hello puts "hello, world" end # in irb > iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb'

layout_test_with_different_layout_and_symbol_action

layout_test_with_different_layout_and_symbol_action() Instance Public methods

to_param

to_param() Instance Public methods Calls to_param on all its elements and joins the result with slashes. This is used by url_for in Action Pack.

lib_files

lib_files() Instance Public methods Files in the Gem under one of the #require_paths

time_select

time_select(object_name, method, options = {}, html_options = {}) Instance Public methods Returns a set of select tags (one for hour, minute and optionally second) pre-selected for accessing a specified time-based attribute (identified by method) on an object assigned to the template (identified by object). You can include the seconds with :include_seconds. You can get hours in the AM/PM format with :ampm option. This method will also generate 3 input hidden tags, for the actual ye

createElement

createElement(arg0, arg1=nil, arg2=nil) Instance Public methods HRESULT createElement create different types of IXMLElements. VARIANT arg0 --- vType [IN] VARIANT arg1 --- var1 [IN] IXMLElement2,IXMLElement2 arg2 --- ppElem [OUT]

shutdown

shutdown() Instance Public methods Shuts down the server and all listening sockets. New listeners must be provided to restart the server.

new

UNIXServer.new(path) => unixserver Class Public methods Creates a new UNIX server socket bound to path. serv = UNIXServer.new("/tmp/sock") s = serv.accept p s.read