time_field_tag

time_field_tag(name, value = nil, options = {}) Instance Public methods Creates a text field of type âtimeâ. Options :min - The minimum acceptable value. :max - The maximum acceptable value. :step - The acceptable value granularity. Otherwise accepts the same options as text_field_tag.

bsearch

rng.bsearch {|obj| block } â value Instance Public methods By using binary search, finds a value in range which meets the given condition in O(log n) where n is the size of the range. You can use this method in two use cases: a find-minimum mode and a find-any mode. In either case, the elements of the range must be monotone (or sorted) with respect to the block. In find-minimum mode (this is a good choice for typical use case), the block must return true or false, and there must

title

title(str) Instance Public methods

url_to_audio

url_to_audio(source, options = {}) Instance Public methods Alias for: audio_url

new

new(config={}, default=Config::General) Class Public methods Creates a new generic server from config. The default configuration comes from default.

def_to_iso_2022_jp_from_euc_jp

def_to_iso_2022_jp_from_euc_jp() Instance Public methods

backtrace

exception.backtrace â array Instance Public methods Returns any backtrace associated with the exception. The backtrace is an array of strings, each containing either âfilename:lineNo: in `method''' or âfilename:lineNo.'' def a raise "boom" end def b a() end begin b() rescue => detail print detail.backtrace.join("\n") end produces: prog.rb:2:in `a' prog.rb:6:in `b' prog.rb:10

base_class

base_class() Instance Public methods Returns the class descending directly from ActiveRecord::Base, or an abstract class, if any, in the inheritance hierarchy. If A extends AR::Base, A.base_class will return A. If B descends from A through some arbitrarily deep hierarchy, B.base_class will return A. If B < A and C < B and if A is an #abstract_class then both B.base_class and C.base_class would return B as the answer since A is an abstract_class.

verified_request?

verified_request?() Instance Protected methods Returns true or false if a request is verified. Checks: is it a GET or HEAD request? Gets should be safe and idempotent Does the #form_authenticity_token match the given token value from the params? Does the X-CSRF-Token header match the #form_authenticity_token

nodeValue

nodeValue() Instance Public methods VARIANT nodeValue value stored in the node