fig_erase() Instance Public methods
item_hasbutton(item, st=None) Instance Public methods Also aliased as: item_has_button
String(arg) â string Instance Public methods Returns arg as an String. First tries to call its to_str method, then its to_s method. String(self) #=> "main" String(self.class) #=> "Object" String(123456) #=> "123456"
baseName() Instance Public methods BSTR baseName the base name of the node (nodename with the prefix stripped off)
new(*attrs) Class Public methods
rgb(win, color) Class Public methods
sym(name) Class Public methods Get the address as an Integer for the function named name.
defaults(defaults = {}) Instance Public methods Allows you to set default parameters for a route, such as this: defaults id: 'home' do match 'scoped_pages/(:id)', to: 'pages#show' end Using this, the :id parameter here will default to 'home'.
camelize(term, uppercase_first_letter = true) Instance Public methods By default, camelize converts strings to UpperCamelCase. If the argument to camelize is set to :lower then camelize produces lowerCamelCase. camelize will also convert '/' to '::' which is useful for converting paths to namespaces. 'active_model'.camelize # => "ActiveModel" 'active_model'.camelize(:lower) # => "activeModel" 'active_model/errors'.camelize # => "ActiveModel::E
dup Instance Public methods Duped objects have no id assigned and are treated as new records. Note that this is a âshallowâ copy as it copies the object's attributes only, not its associations. The extent of a âdeepâ copy is application specific and is therefore left to the application to implement according to its need. The dup method does not preserve the timestamps (created|updated)_(at|on).
Page 1775 of 2275