see(idx) Instance Public methods
beginning_of_day() Instance Public methods Returns a new DateTime representing the start of the day (0:00). midnight at_midnight at_beginning_of_day
new() Class Public methods
size() Instance Public methods See FileTest#size.
item_delete(first, last=None) Instance Public methods
prev_sibling(nxt=nil) Instance Public methods Alias for: prevsibling
replace(other_array) Instance Public methods Replaces this collection with other_array. This will perform a diff and delete/add only records that have changed. class Person < ActiveRecord::Base has_many :pets end person.pets # => [#<Pet id: 1, name: "Gorby", group: "cats", person_id: 1>] other_pets = [Pet.new(name: 'Puff', group: 'celebrities'] person.pets.replace(other_pets) person.pets # => [#<Pet id: 2, name: "Puff", group: "celebrities", person_id: 1>
blank?() Instance Public methods An object is blank if it's false, empty, or a whitespace string. For example, '', ' ', nil, [], and {} are all blank. This simplifies address.nil? || address.empty? to address.blank? @return [true, false]
rulerMkTab(c,x,y) Instance Public methods rulerMkTab â This method creates a new triangular polygon in a canvas to represent a tab stop. Arguments: c - The canvas window. x, y - Coordinates at which to create the tab stop.
[](header_or_index, minimum_index = 0) Instance Public methods Alias for: field
Page 762 of 2275