lookup_ancestors

lookup_ancestors() Instance Public methods When localizing a string, it goes through the lookup returned by this method, which is used in ActiveModel::Name#human, ActiveModel::Errors#full_messages and #human_attribute_name.

get_option

get_option() Instance Public methods `get_option' is an alias of `get'. get

encoding

encoding() Instance Public methods The external encoding for standard input.

yaxis_use

yaxis_use(target=nil) Instance Public methods

tag

tag(intv_p = false, relname=nil) Instance Public methods

alive?

alive?() Instance Public methods A TupleEntry is dead when it is canceled or expired.

next

e.next â object Instance Public methods Returns the next object in the enumerator, and move the internal position forward. When the position reached at the end, StopIteration is raised. Example a = [1,2,3] e = a.to_enum p e.next #=> 1 p e.next #=> 2 p e.next #=> 3 p e.next #raises StopIteration Note that enumeration sequence by next does not affect other non-external enumeration methods, unless the underlying iteration methods itself has side-effect, e.g. IO#e

parse_stream

parse_stream(yaml, filename = nil, &block) Class Public methods Parse a YAML string in yaml. Returns the full AST for the YAML document. This method can handle multiple YAML documents contained in yaml. filename is used in the exception message if a Psych::SyntaxError is raised. If a block is given, a Psych::Nodes::Document node will be yielded to the block as it's being parsed. Raises a Psych::SyntaxError when a YAML syntax error is detected. Example: Psych.parse_stream("---\

nonl

nonl() Class Public methods Disable the underlying display device to translate the return key into newline on input See ::nl for more detail

encode_with

encode_with(coder) Instance Public methods