Class: Source (REXML)

Overview
Module Structure
Class Hierarchy
Instance Attributes
Source#buffer [R]
Source#line [R]
Source#encoding [R]
Instance Methods
Source#initialize / 2
Source#encoding= / 1
Source#scan / 2
Source#read
Source#consume / 1
Source#match_to / 2
Source#match_to_consume / 2
Source#match / 2
Source#empty?
Source#position
Source#current_line
is a submodule of
module: REXML   
includes
  Encoding ( REXML )
inherits from
  Object ( Builtin-Module )
is inherited by
  IOSource ( REXML )
has properties
attribute: buffer [R]   
attribute: line [R]   
attribute: encoding [R]   
method: initialize / 2   
method: encoding= / 1   
method: scan / 2   
method: read   
method: consume / 1   
method: match_to / 2   
method: match_to_consume / 2   
method: match / 2   
method: empty?   
method: position   
method: current_line   
is defined at
#28 in rexml/source.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: <Built-in Module>
  module: REXML
module: Encoding     
class: Source     
class: IOSource     

Class Hierarchy

Object ( Builtin-Module )
has properties
method: dclone   
Source ( REXML )
includes
  Encoding ( REXML )
has properties
attribute: buffer [R]   
attribute: line [R]   
attribute: encoding [R]   
method: initialize / 2   
method: encoding= / 1   
method: scan / 2   
method: read   
method: consume / 1   
method: match_to / 2   
method: match_to_consume / 2   
method: match / 2   
method: empty?   
method: position   
method: current_line   
  IOSource     

Instance Attributes

Source#buffer [R]

#31 in rexml/source.rb

Source#line [R]

#33 in rexml/source.rb

Source#encoding [R]

#34 in rexml/source.rb

Instance Methods

Source#initialize / 2

#40 in rexml/source.rb

initialize ( arg ,
  encoding=nil )

Source#encoding= / 1

#53 in rexml/source.rb

encoding= ( enc )

Source#scan / 2

#80 in rexml/source.rb

scan ( pattern ,
  cons=false )

Source#read

#87 in rexml/source.rb

read

Source#consume / 1

#90 in rexml/source.rb

consume ( pattern )

Source#match_to / 2

#94 in rexml/source.rb

match_to ( char ,
  pattern )

Source#match_to_consume / 2

#98 in rexml/source.rb

match_to_consume ( char ,
  pattern )

Source#match / 2

#104 in rexml/source.rb

match ( pattern ,
  cons=false )

Source#empty?

#111 in rexml/source.rb

empty?

Source#position

#115 in rexml/source.rb

position

Source#current_line

#120 in rexml/source.rb

current_line