decompose

decompose(type, codepoints) Instance Public methods Decompose composed characters to the decomposed form.

configbody

configbody(klass, var, body) Class Public methods

new

new(text, name) Class Public methods Creates a new MethodAttr from token stream text and method or attribute name name. Usually this is called by super from a subclass.

each_filename

each_filename() Instance Public methods Iterates over each component of the path. Pathname.new("/usr/bin/ruby").each_filename {|filename| ... } # yields "usr", "bin", and "ruby". Returns an Enumerator if no block was given. enum = Pathname.new("/usr/bin/ruby").each_filename # ... do stuff ... enum.each { |e| ... } # yields "usr", "bin", and "ruby".

base_label

base_label() Instance Public methods Returns the base label of this instruction sequence. For example, using irb: iseq = RubyVM::InstructionSequence.compile('num = 1 + 2') #=> <RubyVM::InstructionSequence:<compiled>@<compiled>> iseq.base_label #=> "<compiled>" Using ::compile_file: # /tmp/method.rb def hello puts "hello, world" end # in irb > iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb') > iseq.base_label #=> <main&g

def_single_delegator

def_single_delegator(accessor, method, new_name=method) Instance Public methods Defines a method method which delegates to accessor (i.e. it calls the method of the same name in accessor). If new_name is provided, it is used as the name for the delegate method. def_delegator

set_owner 2

set_owner(keys=nil) Instance Public methods

filter

filter() Instance Public methods

valid_accept_header

valid_accept_header() Instance Protected methods

transfer_stdio 2

transfer_stdio(dist, src = '') Instance Public methods