doc_stats

doc_stats(collection) Instance Public methods Returns the length and number of undocumented items in collection.

mutex

mutex() Instance Public methods

[]

[](name) Instance Public methods Returns the value of a member. person = OpenStruct.new('name' => 'John Smith', 'age' => 70) person[:age] # => 70, same as ostruct.age

list_files_in_directory

list_files_in_directory(dir) Instance Public methods Return a list of the files to be processed in a directory. We know that this directory doesn't have a .document file, so we're looking for real files. However we may well contain subdirectories which must be tested for .document files.

+

d + other â date Instance Public methods Returns a date object pointing other days after self. The other should be a numeric value. If the other is flonum, assumes its precision is at most nanosecond. Date.new(2001,2,3) + 1 #=> #<Date: 2001-02-04 ...> DateTime.new(2001,2,3) + Rational(1,2) #=> #<DateTime: 2001-02-03T12:00:00+00:00 ...> DateTime.new(2001,2,3) + Rational(-1,2) #=> #<DateTime: 2001-02-

test_alt_eager_loading

test_alt_eager_loading() Instance Public methods

parse_struct_signature

parse_struct_signature(signature, tymap=nil) Instance Public methods Parses a C struct's members Example: parse_struct_signature(['int i', 'char c']) => [[DL::TYPE_INT, DL::TYPE_CHAR], ["i", "c"]]

generate

generate() Instance Public methods

from_specs

from_specs() Class Public methods Creates a DependencyList from the current specs.

marshal_load

marshal_load(array) Instance Public methods Loads this Attr from array. For a loaded Attr the following methods will return cached values: full_name parent_name