ole_initialize

ole_initialize() Class Public methods :nodoc

titleborder

titleborder(width) Instance Public methods set title borders

new

new() Class Public methods

refresh

refresh() Instance Public methods

new

new(app, options = {}) Class Public methods Create a new store. The cache to use can be passed in the :cache option. If it is not specified, Rails.cache will be used.

popen2e

popen2e(*cmd, &block) Class Public methods ::popen2e is similer to ::popen3 except it merges the standard output stream and the standard error stream. Block form: Open3.popen2e([env,] cmd... [, opts]) {|stdin, stdout_and_stderr, wait_thr| pid = wait_thr.pid # pid of the started process. ... exit_status = wait_thr.value # Process::Status object returned. } Non-block form: stdin, stdout_and_stderr, wait_thr = Open3.popen2e([env,] cmd... [, opts]) ... stdin.close # stdin an

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

to_param

to_param() Instance Public methods Returns a String, which Action Pack uses for constructing an URL to this object. The default implementation returns this record's id as a String, or nil if this record's unsaved. For example, suppose that you have a User model, and that you have a resources :users route. Normally, user_path will construct a path with the user object's 'id' in it: user = User.find_by(name: 'Phusion') user_path(user) # => "/users/1" You can override to_param in

each

each() Instance Public methods Iterates over files in the tarball yielding each entry each_entry

convert

convert( name )convert { |field| ... }convert { |field, field_info| ... } Instance Public methods You can use this method to install a CSV::Converters built-in, or provide a block that handles a custom conversion. If you provide a block that takes one argument, it will be passed the field and is expected to return the converted value or the field itself. If your block takes two arguments, it will also be passed a CSV::FieldInfo Struct, containing details about the field. Again,