proxy_class=

proxy_class=(klass) Class Public methods The proxy class returned when calling mb_chars. You can use this accessor to configure your own proxy class so you can support other encodings. See the ActiveSupport::Multibyte::Chars implementation for an example how to do this. ActiveSupport::Multibyte.proxy_class = CharsForUTF32

entry_delete

entry_delete(tag, first=None, last=None) Instance Public methods

to_str

str.to_str â str Instance Public methods Returns the receiver.

_eval

_eval(str) Class Public methods

suffix_pattern

suffix_pattern() Class Public methods Glob pattern for require-able path suffixes.

handle_special_RDOCLINK

handle_special_RDOCLINK(special) Instance Public methods special is an rdoc-schemed link that will be converted into a hyperlink. For the rdoc-ref scheme the cross-reference will be looked up and the given name will be used. All other contents are handled by the superclass

source_menu

source_menu() Instance Public methods

validate_options

validate_options(options) Instance Protected methods

next_token

next_token() Instance Public methods The method to fetch next token. If you use do_parse method, you must implement next_token. The format of return value is [TOKEN_SYMBOL, VALUE]. token-symbol is represented by Ruby's symbol by default, e.g. :IDENT for 'IDENT'. â;â (String) for ';'. The final symbol (End of file) must be false.

get_attribute

get_attribute( name ) Instance Public methods Fetches an attribute name the name by which to search for the attribute. Can be a prefix:name namespace name. Returns The first matching attribute, or nil if there was none. This value is an Attribute node, not the String value of the attribute. doc = Document.new '<a x:foo="1" foo="2" bar="3"/>' doc.root.attributes.get_attribute("foo").value #-> "2" doc.root.attributes.get_attribute("x:foo").value #-> "1"