nodeTypeString

nodeTypeString() Instance Public methods BSTR nodeTypeString the type of node in string form

cache_attributes

cache_attributes(*attribute_names) Instance Public methods cache_attributes allows you to declare which converted attribute values should be cached. Usually caching only pays off for attributes with expensive conversion methods, like time related columns (e.g. created_at, updated_at).

index

index() Instance Public methods

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

close

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

to_s

to_s() Instance Public methods Alias for: to_pem

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