get_frame

get_frame() Instance Public methods Alias for: getframe

spec_name

spec_name() Instance Public methods The default name of the gemspec. See also file_name spec.spec_name # => "example-1.0.gemspec"

node_type

node_type() Instance Public methods

show_detailed_exceptions?

show_detailed_exceptions?() Instance Public methods Override this method if you want to customize when detailed exceptions must be shown. This method is only called when consider_all_requests_local is false. By default, it returns false, but someone may set it to `request.local?` so local requests in production still shows the detailed exception pages.

new

new(chart, axis=nil, keys={}) Class Public methods

blank?

blank?() Instance Public methods Returns true if relation is blank.

each_cons

enum.each_cons(n) { ... } â nilenum.each_cons(n) â an_enumerator Instance Public methods Iterates the given block for each array of consecutive <n> elements. If no block is given, returns an enumerator. e.g.: (1..10).each_cons(3) { |a| p a } # outputs below [1, 2, 3] [2, 3, 4] [3, 4, 5] [4, 5, 6] [5, 6, 7] [6, 7, 8] [7, 8, 9] [8, 9, 10]

dev_major

stat.dev_major â fixnum Instance Public methods Returns the major part of File_Stat#dev or nil. File.stat("/dev/fd1").dev_major #=> 2 File.stat("/dev/tty").dev_major #=> 5

_unset_variable

_unset_variable(var_name, flag) Instance Public methods

valid_civil?

Date.valid_civil?(year, month, mday[, start=Date::ITALY]) â bool Class Public methods Returns true if the given calendar date is valid, and false if not. Date.valid_date?(2001,2,3) #=> true Date.valid_date?(2001,2,29) #=> false See also jd and civil.