controller_class

controller_class() Instance Public methods

select

IO.select(read_array[, write_array[, error_array[, timeout]]]) â array or nil Class Public methods Calls select(2) system call. It monitors given arrays of IO objects, waits one or more of IO objects ready for reading, are ready for writing, and have pending exceptions respectably, and returns an array that contains arrays of those IO objects. It will return nil if optional timeout value is given and no IO object is ready in timeout seconds. Parameters read_array an array of

_dump

_dump(limit) Instance Public methods Dump only crucial instance variables.

[]

[](*types) Class Public methods

parse_content_type

parse_content_type(str) Instance Public methods

struct

struct(signature) Instance Public methods Creates a class to wrap the C struct described by signature. MyStruct = struct ['int i', 'char c']

concat

concat(string) Instance Public methods The preferred method of outputting text in your views is to use the <%= âtextâ %> eRuby syntax. The regular puts and print methods do not operate as expected in an eRuby code block. If you absolutely must output text within a non-output code block (i.e., <% %>), you can use the concat method. <% concat "hello" # is the equivalent of <%= "hello" %> if logged_in concat "Logged in!" else concat li

selection_present?

selection_present?() Instance Public methods

to_der

attr.to_der => string Instance Public methods

new

new(options, characters = 100, paragraphs = 3, markup = nil) Class Public methods Creates a new ToHtmlSnippet formatter that will cut off the input on the next word boundary after the given number of characters or paragraphs of text have been encountered.