to_feed

to_feed(feed, current) Instance Public methods

not_set_name

not_set_name() Class Public methods

xmlschema

DateTime.xmlschema(string='-4712-01-01T00:00:00+00:00'[, start=ITALY]) â datetime Class Public methods Creates a new Date object by parsing from a string according to some typical XML Schema formats. DateTime.xmlschema('2001-02-03T04:05:06+07:00') #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...>

iso8601

DateTime.iso8601(string='-4712-01-01T00:00:00+00:00'[, start=ITALY]) â datetime Class Public methods Creates a new Date object by parsing from a string according to some typical ISO 8601 formats. DateTime.iso8601('2001-02-03T04:05:06+07:00') #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...> DateTime.iso8601('20010203T040506+0700') #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...> DateTime.iso8601('2001-W05-6T04:05:06

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.

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

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".

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