async=

async=(arg0) Instance Public methods VOID async flag for asynchronous download

[]=

[]=(name, value) Instance Public methods Sets the value of a member. person = OpenStruct.new('name' => 'John Smith', 'age' => 70) person[:age] = 42 # => equivalent to ostruct.age = 42 person.age # => 42

===

obj === other â true or false Instance Public methods Case Equality â For class Object, effectively the same as calling #==, but typically overridden by descendants to provide meaningful semantics in case statements.

to_xml

to_xml(options = {}, &block) Instance Public methods Returns XML representing the model. Configuration can be passed through options. Without any options, the returned XML string will include all the model's attributes. user = User.find(1) user.to_xml <?xml version="1.0" encoding="UTF-8"?> <user> <id type="integer">1</id> <name>David</name> <age type="integer">16</age> <created-at type="dateTime">2011-01-30T22:29:23

proxy_basic_auth

proxy_basic_auth(account, password) Instance Public methods Set Proxy-Authorization: header for âBasicâ authorization.

to_s

to_s() Instance Public methods Alias for: to_pem

close

close() Instance Public methods Update and close the session's PStore file.

new

SSLContext.new => ctxSSLContext.new(:TLSv1) => ctxSSLContext.new("SSLv23_client") => ctx Class Public methods You can get a list of valid methods with OpenSSL::SSL::SSLContext::METHODS

style

style(*args) Class Public methods

each_line

pathname.each_line {|line| ... }pathname.each_line(sep=$/ [, open_args]) {|line| block } â nilpathname.each_line(limit [, open_args]) {|line| block } â nilpathname.each_line(sep, limit [, open_args]) {|line| block } â nilpathname.each_line(...) â an_enumerator Instance Public methods Iterates over each line in the file and yields a String object for each.