to_partial_path

to_partial_path() Instance Public methods Returns a string identifying the path associated with the object. ActionPack uses this to find a suitable partial to represent the object. class Person include ActiveModel::Conversion end person = Person.new person.to_partial_path # => "people/person"

write

write(key, value) Instance Public methods

insert

insert(pos,text) Instance Public methods

define_model_callbacks

define_model_callbacks(*callbacks) Instance Public methods #define_model_callbacks accepts the same options define_callbacks does, in case you want to overwrite a default. Besides that, it also accepts an :only option, where you can choose if you want all types (before, around or after) or just some. define_model_callbacks :initializer, only: :after Note, the only: <type> hash will apply to all callbacks defined on that method call. To get around this you can call the #defin

eql?

eql?(resolver) Instance Public methods Also aliased as: ==

run 2

run() Instance Public methods Looks up and displays ri data according to the options given.

demoOutlookNewsgroup

demoOutlookNewsgroup(t) Instance Public methods Demo: Outlook Express newsgroup messages

new

new() Class Public methods Creates a new RDoc::RD::BlockParser. Use parse to parse an rd-format document.

dragimage_offset

dragimage_offset(*args) Instance Public methods

_id2ref

ObjectSpace._id2ref(object_id) â an_object Class Public methods Converts an object id to a reference to the object. May not be called on an object id passed as a parameter to a finalizer. s = "I am a string" #=> "I am a string" r = ObjectSpace._id2ref(s.object_id) #=> "I am a string" r == s #=> true