citrus_mskanji_cstomb

citrus_mskanji_cstomb(csid, index) Instance Public methods

log

Math.log(numeric) â floatMath.log(num,base) â float Class Public methods Returns the natural logarithm of numeric. If additional second argument is given, it will be the base of logarithm. Math.log(1) #=> 0.0 Math.log(Math::E) #=> 1.0 Math.log(Math::E**3) #=> 3.0 Math.log(12,3) #=> 2.2618595071429146

end_of_quarter

end_of_quarter() Instance Public methods Returns a new date/time at the end of the quarter. Example: 31st March, 30th June, 30th September. DateTime objects will have a time set to 23:59:59. at_end_of_quarter

id

id() Instance Public methods

full_messages_for

full_messages_for(attribute) Instance Public methods Returns all the full error messages for a given attribute in an array. class Person validates_presence_of :name, :email validates_length_of :name, in: 5..30 end person = Person.create() person.errors.full_messages_for(:name) # => ["Name is too short (minimum is 5 characters)", "Name can't be blank"]

inherited

inherited(klass) Instance Public methods Sets the default wrapper key or model which will be used to determine wrapper key and attribute names. Will be called automatically when the module is inherited.

[]=

WIN32OLE[a1, a2, ...]=val Instance Public methods Sets the value to WIN32OLE object specified by a1, a2, ⦠dict = WIN32OLE.new('Scripting.Dictionary') dict.add('ruby', 'RUBY') dict['ruby'] = 'Ruby' puts dict['ruby'] # => 'Ruby' Remark: You can not use this method to set the property value. excel = WIN32OLE.new('Excel.Application') # excel['Visible'] = true # This is error !!! excel.Visible = true # You should to use this style to set the property.

current

Fiber.current() â fiber Class Public methods Returns the current fiber. You need to require 'fiber' before using this method. If you are not running in the context of a fiber this method will return the root fiber.

read_file

read_file(file, pri=None) Class Public methods Alias for: readfile

move_piece

move_piece(last, square) Instance Public methods Perform a Knight's move and schedule the next move.