singleline_pp(obj, out=$>) Class Public methods Outputs obj to out like ::pp but with no indent and newline. ::singleline_pp returns out.
transformNode(arg0) Instance Public methods BSTR transformNode apply the stylesheet to the subtree IXMLDOMNode arg0 --- stylesheet [IN]
location(x=None, y=None) Class Public methods
attribute_method?(attribute) Instance Public methods Returns true if attribute is an attribute method and table exists, false otherwise. class Person < ActiveRecord::Base end Person.attribute_method?('name') # => true Person.attribute_method?(:age=) # => true Person.attribute_method?(:nothing) # => false
hash() Instance Public methods Delegates to id in order to allow two records of the same type and id to work with something like: [ Person.find(1), Person.find(2), Person.find(3) ] & [ Person.find(1), Person.find(4) ] # => [ Person.find(1) ]
authenticate(unencrypted_password) Instance Public methods Returns self if the password is correct, otherwise false. class User < ActiveRecord::Base has_secure_password validations: false end user = User.new(name: 'david', password: 'mUc3m00RsqyRe') user.save user.authenticate('notright') # => false user.authenticate('mUc3m00RsqyRe') # => user
compile_methods!(keys) Class Public methods Compiles reader methods so we don't have to go through method_missing.
new(size=nil, keys={}) Class Public methods
locale=(locale) Class Public methods
time.thursday? â true or false Instance Public methods Returns true if time represents Thursday. t = Time.local(1995, 12, 21) #=> 1995-12-21 00:00:00 -0600 p t.thursday? #=> true
Page 229 of 2275