reverser

reverser() Instance Public methods Oscillation handler. This detects whether to reverse the direction of the wave by checking to see if the peak of the wave has moved off the screen (whose size we know already.)

_merge_tklist

_merge_tklist(*args) Class Public methods

generate_message

generate_message(attribute, type = :invalid, options = {}) Instance Public methods Translates an error message in its default scope (activemodel.errors.messages). Error messages are first looked up in models.MODEL.attributes.ATTRIBUTE.MESSAGE, if it's not there, it's looked up in models.MODEL.MESSAGE and if that is not there also, it returns the translation of the default message (e.g. activemodel.errors.messages.MESSAGE). The translated model name, translated attribute name and th

content_tag_for

content_tag_for(tag_name, single_or_multiple_records, prefix = nil, options = nil, &block) Instance Public methods #content_tag_for creates an HTML element with id and class parameters that relate to the specified Active Record object. For example: <%= content_tag_for(:tr, @person) do %> <td><%= @person.first_name %></td> <td><%= @person.last_name %></td> <% end %> would produce the following HTML (assuming @person is an insta

peek_values

e.peek_values â array Instance Public methods Returns the next object as an array, similar to #next_values, but doesn't move the internal position forward. If the position is already at the end, StopIteration is raised. Example o = Object.new def o.each yield yield 1 yield 1, 2 end e = o.to_enum p e.peek_values #=> [] e.next p e.peek_values #=> [1] p e.peek_values #=> [1] e.next p e.peek_values #=> [1, 2] e.next p e.peek_values # raises StopIter

ret_val

ret_val(val) Class Public methods

==

==(p1) Instance Public methods Tests for value equality; returns true if the values are equal. The == and === operators and the eql? method have the same implementation for BigDecimal. Values may be coerced to perform the comparison: ::new('1.0') == 1.0 -> true

invoke

invoke(elem) Instance Public methods

-

-(item) Instance Public methods

lget_f

lget_f(idx) Instance Public methods