singular

singular(record_or_class) Class Public methods Returns the singular class name of a record or class. ActiveModel::Naming.singular(post) # => "post" ActiveModel::Naming.singular(Highrise::Person) # => "highrise_person"

deep_merge

deep_merge(other_hash, &block) Instance Public methods Returns a new hash with self and other_hash merged recursively. h1 = { a: true, b: { c: [1, 2, 3] } } h2 = { a: false, b: { x: [3, 4, 5] } } h1.deep_merge(h2) #=> { a: false, b: { c: [1, 2, 3], x: [3, 4, 5] } } Like with Hash#merge in the standard library, a block can be provided to merge values: h1 = { a: 100, b: 200, c: { c1: 100 } } h2 = { b: 250, c: { c1: 200 } } h1.deep_merge(h2) { |key, this_val, other_val| this_

plot

plot(series, dat, col=None) Instance Public methods

new_hash

new_hash(name, *args) Class Public methods

get

get(item, col) Instance Public methods

find_runnable

find_runnable(file) Instance Public methods

_unset_variable2

_unset_variable2(var_name, index_name, flag) Instance Public methods

uninstall_cmd

uninstall_cmd(p1) Class Public methods

select_tag

select_tag(name, option_tags = nil, options = {}) Instance Public methods Creates a dropdown selection box, or if the :multiple option is set to true, a multiple choice selection box. Helpers::FormOptions can be used to create common select boxes such as countries, time zones, or associated records. option_tags is a string containing the option tags for the select box. Options :multiple - If set to true the selection will allow multiple choices. :disabled - If set to true, the u

cofactor

group.get_cofactor => cofactor_bn Instance Public methods See the OpenSSL documentation for EC_GROUP_get_cofactor()