new

new(*parts) Class Public methods Creates a new Document with parts

locale 2

locale() Instance Public methods

new

new(context) Class Public methods

serialize

serialize(attr_name, class_name_or_coder = Object) Instance Public methods If you have an attribute that needs to be saved to the database as an object, and retrieved as the same object, then specify the name of that attribute using this method and it will be handled automatically. The serialization is done through YAML. If class_name is specified, the serialized object must be of that class on retrieval or SerializationTypeMismatch will be raised. A notable side effect of serializ

ptr

ptr Instance Public methods Returns a new Fiddle::Pointer instance that is a dereferenced pointer for this pointer. Analogous to the star operator in C.

formatted_xml_erb

formatted_xml_erb() Instance Public methods

period

period() Instance Public methods Returns the underlying TZInfo::TimezonePeriod.

wednesday?

time.wednesday? â true or false Instance Public methods Returns true if time represents Wednesday. t = Time.local(1993, 2, 24) #=> 1993-02-24 00:00:00 -0600 p t.wednesday? #=> true

each

each(&block) Instance Public methods Iterate over the elements of this vector

current_server

current_server() Class Public methods Get the 'current' server. In the context of execution taking place within the main thread of a dRuby server (typically, as a result of a remote call on the server or one of its objects), the current server is that server. Otherwise, the current server is the primary server. If the above rule fails to find a server, a DRbServerNotFound error is raised.