(function() { fancy.fdoc({title:"Fancy Documentation", methods:{"System#do:":{doc:"

Runs the given string as a system() command.

\n\n
\n\n", args:["command_str"]}, "Fancy Package Specification#add_dependency:":{doc:"

Forward to message add_dependency:version:

\n\n
\n\n", args:["name"]}, "StandardError#initialize:":{doc:"

Creates a new Exception with a given message.

\n\n
Message (String) for the Exception.
\n\n", args:["msg"]}, "String#:raise!":{doc:"

Raises a new StdError with self as the message.

\n\n
\n\n", args:[]}, "Object#for_options:do:":{doc:"

Runs a given block if any of the given options is in ARGV.

\n\n
\n\n", args:["op_names", "block"]}, "Object#for_option:do:":{doc:"

Runs a given block if an option is in ARGV.

\n\n
\n\n", args:["op_name", "block"]}, "System#pipe:":{doc:"

Runs the given string as a popen() call and returns a IO handle\nthat can be read from

\n\n
\n\n", args:["command_str"]}, "StandardError#:raise!":{doc:"

Raises (throws) an Exception to be caught somewhere up the\ncallstack.

\n\n
\n\n", args:[]}, "System#piperead:":{doc:"

Runs the given string as a popen() call and returns the output\nof the call as a string.

\n\n
\n\n", args:["command_str"]}, "System#:exit":{doc:"

Exit the running Fancy process.

\n\n
\n\n", args:[]}, "Fancy FDoc JSON#write:":{doc:"

Forward to message write:call:

\n\n
\n\n", args:["filename"]}, "Fancy Package Specification#add_ruby_dependency:":{doc:"

Forward to message add_ruby_dependency:version:

\n\n
\n\n", args:["gem_name"]}, "System#sleep:":{doc:"

Sets the Fancy process for a given amount of milliseconds to sleep.

\n\n
\n\n", args:["n_ms"]}, "StandardError#:initialize":{doc:"

Creates a new Exception with an empty message.

\n\n
\n\n", args:[]}}, date:"Wed Feb 16 03:13:08 -0800 2011", classes:{"File":{doc:"

Instances of File represent files in the filesystem of the operating\nsystem on which Fancy is running.

\n\n
\n\n", methods:{"lchown":{file:"kernel/common/file.rb", lines:[245, 245]}, "split":{file:"kernel/common/file.rb", lines:[765, 765]}, "delete":{file:"kernel/common/file.rb", lines:[859, 859]}, "modes_str:":{doc:"

Returns the appropriate String representation of the modes_arr.

\n\n
String that represents the File access modifiers, as used by Ruby.
Array of symbols that describe the desired operations to perform.
\n\n", arg:["modes_arr"], file:"lib/rbx/file.fy", lines:[93, 93]}, "link":{file:"kernel/common/file.rb", lines:[641, 641]}, "extname":{file:"kernel/common/file.rb", lines:[428, 428]}, "dirname":{file:"kernel/common/file.rb", lines:[293, 293]}, "read:":{doc:"

Reads all the contens (in ASCII mode) of a given file and returns\nthem as an Array of lines being read.

\n\n
\n\n", arg:["filename"], file:"lib/file.fy", lines:[24, 24]}, "delete:":{doc:"

Deletes a File with a given filename.

\n\n
Path to File to be deleted.
\n\n", arg:["filename"], file:"lib/rbx/file.fy", lines:[112, 112]}, "symlink?":{file:"kernel/common/file.rb", lines:[795, 795]}, "chmod":{file:"kernel/common/file.rb", lines:[197, 197]}, "directory?":{file:"kernel/common/file.rb", lines:[266, 266]}, "file?":{file:"kernel/common/file.rb", lines:[456, 456]}, "lchmod":{file:"kernel/common/file.rb", lines:[212, 212]}, "truncate":{file:"kernel/common/file.rb", lines:[820, 820]}, "symlink":{file:"kernel/common/file.rb", lines:[784, 784]}, "rename:to:":{doc:"

Renames a File on the filesystem.

\n\n
Path to File to rename.
Path to new filename.
\n\n", arg:["old_name", "new_name"], file:"lib/rbx/file.fy", lines:[133, 133]}, "size?":{file:"kernel/common/file.rb", lines:[739, 739]}, "fnmatch?":{file:"kernel/common/file.rb", lines:[520, 520]}, "basename":{file:"kernel/common/file.rb", lines:[119, 119]}, "umask":{file:"kernel/common/file.rb", lines:[844, 844]}, "socket?":{file:"kernel/common/file.rb", lines:[756, 756]}, "writable_real?":{file:"kernel/common/file.rb", lines:[904, 904]}, "open:modes:":{doc:"

Similar to open:modes:with: but takes no Block argument to be\ncalled with the File instance.\nReturns the opened File instead and expects the caller to close it manually.

\n\n
Filename to open/create.
A File instance that represents the opened File.
Array of symbols that describe the desired operations to perform.
\n\n", arg:["filename", "modes_arr"], file:"lib/rbx/file.fy", lines:[75, 75]}, "setuid?":{file:"kernel/common/file.rb", lines:[934, 934]}, "unlink":{file:"kernel/common/file.rb", lines:[859, 859]}, "exists?:":{doc:"

Indicates if the File with the given filename exists.

\n\n
Path to file to check for existance.
true if File exists, false otherwise.
\n\n", arg:["filename"], file:"lib/rbx/file.fy", lines:[48, 48]}, "join":{file:"kernel/common/file.rb", lines:[580, 580]}, "size":{file:"kernel/common/file.rb", lines:[726, 726]}, "sticky?":{file:"kernel/common/file.rb", lines:[942, 942]}, "identical?":{file:"kernel/common/file.rb", lines:[564, 564]}, "lstat":{file:"kernel/common/file.rb", lines:[658, 658]}, "exists?":{file:"kernel/common/file.rb", lines:[344, 344]}, "chown":{file:"kernel/common/file.rb", lines:[232, 232]}, "fnmatch":{file:"kernel/common/file.rb", lines:[520, 520]}, "syscopy":{file:"kernel/common/file.rb", lines:[803, 803]}, "utime":{file:"kernel/common/file.rb", lines:[875, 875]}, "grpowned?":{file:"kernel/common/file.rb", lines:[545, 545]}, "ftype":{file:"kernel/common/file.rb", lines:[536, 536]}, "clamp_short":{file:"kernel/common/file.rb", lines:[96, 96]}, "owned?":{file:"kernel/common/file.rb", lines:[951, 951]}, "pipe?":{file:"kernel/common/file.rb", lines:[672, 672]}, "last_nonslash":{file:"kernel/common/file.rb", lines:[272, 272]}, "rename":{file:"kernel/common/file.rb", lines:[715, 715]}, "open:modes:with:":{doc:"

Opens a File with a given filename, a modes_arr (Array) and a block.

\n\n

E.g. to open a File with read access and read all lines and print them to STDOUT:

\n\n

File open: \"foo.txt\" modes: [:read] with: |f| {

\n\n
{ f eof? } while_false: {\n  f readln println\n}\n
\n\n

}

\n\n
Block that gets called with the File object that has been opened.
Filename to open/create.
Array of symbols that describe the desired operations to perform.
\n\n", arg:["filename", "modes_arr", "block"], file:"lib/rbx/file.fy", lines:[32, 32]}, "executable?":{file:"kernel/common/file.rb", lines:[329, 329]}, "setgid?":{file:"kernel/common/file.rb", lines:[926, 926]}, "__class_init__":{file:"lib/file.fy", lines:[5, 5]}, "directory?:":{doc:"

Indicates, if a given path refers to a Directory.

\n\n
Path to check if it's a Directory.
true, if the path refers to a Directory, false otherwise.
\n\n", arg:["path"], file:"lib/rbx/file.fy", lines:[123, 123]}, "chardev?":{file:"kernel/common/file.rb", lines:[184, 184]}, "readable_real?":{file:"kernel/common/file.rb", lines:[688, 688]}, "to_ast":{file:"lib/melbourne.rb", lines:[25, 25]}, "writable?":{file:"kernel/common/file.rb", lines:[896, 896]}, "expand_path":{file:"kernel/common/file.rb", lines:[360, 360]}, "executable_real?":{file:"kernel/common/file.rb", lines:[337, 337]}, "to_sexp":{file:"lib/melbourne.rb", lines:[29, 29]}, "readlink":{file:"kernel/common/file.rb", lines:[699, 699]}, "atime":{file:"kernel/common/file.rb", lines:[106, 106]}, "mtime":{file:"kernel/common/file.rb", lines:[666, 666]}, "blockdev?":{file:"kernel/common/file.rb", lines:[177, 177]}, "ctime":{file:"kernel/common/file.rb", lines:[258, 258]}, "stat":{file:"kernel/common/file.rb", lines:[774, 774]}, "zero?":{file:"kernel/common/file.rb", lines:[911, 911]}, "exist?":{file:"kernel/common/file.rb", lines:[344, 344]}, "readable?":{file:"kernel/common/file.rb", lines:[680, 680]}}, ancestors:["File", "Enumerable", "IO", "Unmarshalable", "File Constants", "Object", "Kernel"], instance_methods:{"lstat":{file:"kernel/common/file.rb", lines:[988, 988]}, ":newline":{doc:"

Writes a newline character to the File.

\n\n
\n\n", arg:[], file:"lib/rbx/file.fy", lines:[180, 180]}, ":eof?":{file:"kernel/common/io.rb", lines:[859, 859]}, "writeln:":{doc:"

Writes a given argument as a String followed by a newline into the\nFile.

\n\n
\n\n", arg:["x"], file:"lib/file.fy", lines:[40, 40]}, "chown":{file:"kernel/common/file.rb", lines:[974, 974]}, ":modes":{doc:"

Returns the File access modes Array.

\n\n
File access modes Array.
\n\n", arg:[], file:"lib/rbx/file.fy", lines:[143, 143]}, ":open?":{doc:"

Indicates, if a File is opened.

\n\n
true, if File opened, false otherwise.
\n\n", arg:[], file:"lib/rbx/file.fy", lines:[163, 163]}, "modes:":{doc:"

Sets the File access modes Array.

\n\n
New File access modes Array.
\n\n", arg:["modes_arr"], file:"lib/rbx/file.fy", lines:[153, 153]}, "atime":{file:"kernel/common/file.rb", lines:[961, 961]}, "mtime":{file:"kernel/common/file.rb", lines:[992, 992]}, "chmod":{file:"kernel/common/file.rb", lines:[970, 970]}, "write:":{doc:"

Writes a given String to a File.

\n\n
String to be written to a File.
\n\n", arg:["str"], file:"lib/rbx/file.fy", lines:[174, 174]}, "ctime":{file:"kernel/common/file.rb", lines:[978, 978]}, "println:":{doc:"

Same as File#writeln:.

\n\n
\n\n", arg:["x"], file:"lib/file.fy", lines:[53, 53]}, ":closed?":{file:"kernel/common/io.rb", lines:[760, 760]}, "flock":{file:"kernel/common/file.rb", lines:[982, 982]}, "inspect":{file:"kernel/common/file.rb", lines:[1011, 1011]}, "stat":{file:"kernel/common/file.rb", lines:[996, 996]}, "truncate":{file:"kernel/common/file.rb", lines:[1000, 1000]}, "path":{}, "print:":{doc:"

Same as File#write:.

\n\n
\n\n", arg:["x"], file:"lib/file.fy", lines:[47, 47]}, "reopen":{file:"kernel/common/file.rb", lines:[965, 965]}, ":close":{doc:"

Closes an opened File.

\n\n
\n\n", arg:[], file:"lib/rbx/file.fy", lines:[61, 61]}, ":directory?":{doc:"

Indicates, if a File is a Directory.

\n\n
true, if File is a Directory, false otherwise.
\n\n", arg:[], file:"lib/rbx/file.fy", lines:[189, 189]}}}, "Set":{doc:"

A simple Set data structure class.

\n\n
\n\n", methods:{"__class_init__":{file:"lib/set.fy", lines:[2, 2]}, ":[]":{doc:"

Initialize a new Array with a given Array of values.

\n\n
\n\n", arg:["arr"], file:"lib/set.fy", lines:[26, 26]}}, ancestors:["Set", "FancyEnumerable", "Object", "Object", "Kernel"], instance_methods:{"initialize:":{doc:"

Initialize a new Set with a given Array of values.

\n\n
\n\n", arg:["arr"], file:"lib/set.fy", lines:[9, 9]}, ":values":{}, ":initialize":{doc:"

Initialize a new empty Set.

\n\n
\n\n", arg:[], file:"lib/set.fy", lines:[14, 14]}, "unknown_message:with_params:":{file:"lib/set.fy", lines:[45, 45]}, ":==":{doc:"

Indicates, if two Sets are equal.

\n\n
\n\n", arg:["other"], file:"lib/set.fy", lines:[22, 22]}, "each:":{doc:"

Calls a given Block for each element of the Set.

\n\n
\n\n", arg:["block"], file:"lib/set.fy", lines:[41, 41]}, "includes?:":{doc:"

Indicates, if the Set includes a given value.

\n\n
\n\n", arg:["value"], file:"lib/set.fy", lines:[36, 36]}, ":to_s":{doc:"

Returns a String representation of a Set.

\n\n
\n\n", arg:[], file:"lib/set.fy", lines:[54, 54]}, ":inspect":{doc:"

Returns a detailed String representation of a Set.

\n\n
\n\n", arg:[], file:"lib/set.fy", lines:[59, 59]}, ":<<":{doc:"

Insert a value into the Set.

\n\n
\n\n", arg:["value"], file:"lib/set.fy", lines:[31, 31]}, "method_missing":{}}}, "Fancy Package":{doc:"

The Fancy Package System.

\n\n

This class is used for installing and uninstalling fancy packages on\nthe system.

\n\n

Example:

\n\n
$ fancy install bakkdoor/mongo.fy\n
\n\n

Will install the mongo.fy package from http://github.com/bakkdoor/mongo.fy\nin the latest released version or get the current HEAD (master\nbranch) revision.

\n\n

You can then load the package in your source file via

\n\n
require: \"mongo.fy\"\n
\n\n
\n\n", methods:{":add_to_loadpath":{doc:"

Adds the Fancy Package install dir to the loadpath so you can\neasily require: packages into your code.

\n\n
\n\n", arg:[], file:"lib/package.fy", lines:[66, 66]}, "uninstall:":{file:"lib/package.fy", lines:[41, 41]}, ":list_packages":{file:"lib/package.fy", lines:[45, 45]}, "__class_init__":{file:"lib/package.fy", lines:[25, 25]}, ":package_list_file":{file:"lib/package.fy", lines:[57, 57]}, ":root_dir":{file:"lib/package.fy", lines:[49, 49]}, "install:":{doc:"

Installs a package with a given name.\nExpects package_name to be a string in the form of:

\n\n
user/repo\n
\n\n

Which would get the package code from github.com/user/repo

\n\n
\n\n", arg:["package_name"], file:"lib/package.fy", lines:[37, 37]}}, ancestors:["Fancy Package", "Object", "Kernel"], instance_methods:{}}, "Fancy Package RubyDependency":{doc:"

Same as Fancy Package Dependency, just for rubygem packages.

\n\n
\n\n", methods:{"new:version:":{}, "__class_init__":{file:"lib/package/dependency.fy", lines:[17, 17]}}, ancestors:["Fancy Package RubyDependency", "Object", "Kernel"], instance_methods:{"initialize:":{file:"lib/package/dependency.fy", lines:[22, 22]}, "initialize:version:":{file:"lib/package/dependency.fy", lines:[null, null]}, ":gem_name":{}, ":version":{}}}, "Number":{doc:"

Number is a mixin-class for all number values (integer & floats for\nnow).

\n\n
\n\n", methods:{"__class_init__":{file:"lib/number.fy", lines:[5, 5]}}, ancestors:["Number", "Object", "Kernel"], instance_methods:{":negate":{doc:"

Negates a Number (-1 becomes 1 and vice versa).

\n\n
\n\n", arg:[], file:"lib/number.fy", lines:[52, 52]}, ":abs":{doc:"

Returns the absolute (positive) value of a Number.

\n\n
\n\n", arg:[], file:"lib/number.fy", lines:[47, 47]}, ":even?":{doc:"

Indicates, if a Number is even.

\n\n
\n\n", arg:[], file:"lib/number.fy", lines:[58, 58]}, ":to_num":{file:"lib/number.fy", lines:[68, 68]}, ":odd?":{doc:"

Indicates, if a Number is odd.

\n\n
\n\n", arg:[], file:"lib/number.fy", lines:[64, 64]}, "downto:":{file:"lib/number.fy", lines:[18, 18]}, "upto:":{file:"lib/number.fy", lines:[8, 8]}, ":squared":{doc:"

Returns the square of a Number.

\n\n
\n\n", arg:[], file:"lib/number.fy", lines:[30, 30]}, ":doubled":{doc:"

Returns the double value of a Number.

\n\n
\n\n", arg:[], file:"lib/number.fy", lines:[36, 36]}}}, "Array":{doc:"

Array class.\nArrays are dynamically resizable containers with a constant-time\nindex-based access to members.

\n\n
\n\n", methods:{"allocate":{file:"kernel/bootstrap/array.rb", lines:[11, 11]}, "yaml_tag_subclasses?":{file:"lib/yaml/tag.rb", lines:[null, null]}, "new:":{doc:"

Creates a new Array with a given size (default value is nil).

\n\n
\n\n", arg:["size"], file:"lib/rbx/array.fy", lines:[22, 22]}, "[]":{file:"kernel/common/array.rb", lines:[22, 22]}, "coerce_into_array":{file:"kernel/bootstrap/array.rb", lines:[20, 20]}, "__class_init__":{file:"lib/yaml/rubytypes.rb", lines:[104, 104]}, ":===":{file:"lib/array.fy", lines:[223, 223]}, "new:with:":{doc:"

Creates a new Array with a given size and default-value.

\n\n
\n\n", arg:["size", "default"], file:"lib/rbx/array.fy", lines:[16, 16]}}, ancestors:["Array", "FancyEnumerable", "Object", "Enumerable", "Object", "Kernel"], instance_methods:{"remove_if:":{doc:"

Like Array remove:, but taking a condition Block.\nRemoves all elements that meet the given condition Block.

\n\n
self, with all elements removed for which condition yields true.
Block (or Callable) that indicates, if an element should be removed from self.
\n\n", arg:["condition"], file:"lib/array.fy", lines:[181, 181]}, "tuple=":{}, "to_tuple":{file:"kernel/bootstrap/array.rb", lines:[108, 108]}, "delete":{file:"kernel/common/array.rb", lines:[606, 606]}, "fill":{file:"kernel/common/array.rb", lines:[758, 758]}, "select":{file:"kernel/common/enumerable.rb", lines:[434, 434]}, "map!":{file:"kernel/bootstrap/array.rb", lines:[97, 97]}, "sort":{file:"kernel/common/array.rb", lines:[1537, 1537]}, "hash":{file:"kernel/common/array.rb", lines:[863, 863]}, "indices_of:":{doc:"

Returns an Array of all indices of this item. Empty Array if item does not occur.

\n\n
Item/Value for which a list of indices is requested within an Array.
Array of all indices for a given value within an Array (possibly empty).
\n\n", arg:["item"], file:"lib/rbx/array.fy", lines:[143, 143]}, "each:":{doc:"

Calls a given Block with each element in the Array.

\n\n
Block to be called for each element in self.
Return value of calling block on the last item in self.
\n\n", arg:["block"], file:"lib/rbx/array.fy", lines:[57, 57]}, "reject:":{doc:"

Returns a new Array with all the elements which yield nil or false\nwhen called with the given Block.

\n\n
\n\n", arg:["block"], file:"lib/rbx/array.fy", lines:[243, 243]}, "join:":{doc:"

Joins all elements in the Array by a given String.\nE.g.: [1,2,3] join: ', ' # => '1,2,3'

\n\n
\n\n", arg:["join_str"], file:"lib/rbx/array.fy", lines:[257, 257]}, "remove_at:":{doc:"

Removes an element at a given index.\nIf given an Array of indices, removes all the elements with these indices.\nReturns the deleted object if an index was given, the last deleted object for an Array given.

\n\n
\n\n", arg:["index"], file:"lib/rbx/array.fy", lines:[85, 85]}, "&":{file:"kernel/common/array.rb", lines:[364, 364]}, "permutation":{file:"kernel/common/array.rb", lines:[1195, 1195]}, "start":{}, "unshift":{file:"kernel/common/array.rb", lines:[1707, 1707]}, "flatten":{file:"kernel/common/array.rb", lines:[845, 845]}, "insert":{file:"kernel/common/array.rb", lines:[980, 980]}, "uniq":{file:"kernel/common/array.rb", lines:[1618, 1618]}, "sort_inplace":{file:"kernel/common/array.rb", lines:[1542, 1542]}, "collect":{file:"kernel/bootstrap/array.rb", lines:[87, 87]}, "reverse_each":{file:"kernel/common/array.rb", lines:[1385, 1385]}, "collect!":{file:"kernel/bootstrap/array.rb", lines:[97, 97]}, "inspect":{file:"kernel/common/array.rb", lines:[998, 998]}, "to_s":{file:"kernel/common/array.rb", lines:[1590, 1590]}, "new_range":{file:"kernel/bootstrap/array.rb", lines:[16, 16]}, ":reverse!":{file:"kernel/common/array.rb", lines:[1373, 1373]}, "join":{file:"kernel/common/array.rb", lines:[1016, 1016]}, "|":{file:"kernel/common/array.rb", lines:[377, 377]}, "rindex":{file:"kernel/common/array.rb", lines:[1404, 1404]}, "size":{}, "total=":{}, "replace":{file:"kernel/common/array.rb", lines:[1354, 1354]}, ":join":{doc:"

Joins all elements with the empty String.

\n\n
[\"hello\", \"world\", \"!\"] join # => \"hello, world!\"\n
\n\n
Elements of Array joined to a String.
\n\n", arg:[], file:"lib/array.fy", lines:[134, 134]}, "first":{file:"kernel/common/array.rb", lines:[834, 834]}, ":second":{doc:"

Returns the second element in the Array

\n\n
\n\n", arg:[], file:"lib/array.fy", lines:[33, 33]}, ":shuffle":{file:"kernel/common/array.rb", lines:[1517, 1517]}, "include?":{file:"kernel/common/array.rb", lines:[929, 929]}, ":clear":{file:"kernel/common/array.rb", lines:[517, 517]}, "uniq!":{file:"kernel/common/array.rb", lines:[1623, 1623]}, "[]=":{file:"kernel/common/array.rb", lines:[187, 187]}, ":compact!":{doc:"

Removes all nil-value elements in place.

\n\n
self
\n\n\n

\n", arg:[], file:"lib/array.fy", lines:[156, 156]}, "__matches_when__":{file:"kernel/bootstrap/array.rb", lines:[80, 80]}, "==":{file:"kernel/common/array.rb", lines:[469, 469]}, "cycle":{file:"kernel/common/array.rb", lines:[585, 585]}, "pop":{file:"kernel/common/array.rb", lines:[1248, 1248]}, ":last":{file:"kernel/common/array.rb", lines:[1066, 1066]}, ":product":{doc:"

Calculates the product of all the elements in the Enumerable\n(assuming them to be Numbers (implementing '+' & '*')).

\n\n
\n\n", arg:[], file:"lib/rbx/array.fy", lines:[273, 273]}, "at:":{doc:"

Returns the element in the Array at a given index.

\n\n
Index for value to retrieve.
Value with the given index (if available), or nil.
\n\n", arg:["idx"], file:"lib/rbx/array.fy", lines:[97, 97]}, "rassoc":{file:"kernel/common/array.rb", lines:[1321, 1321]}, ":pop":{file:"kernel/common/array.rb", lines:[1248, 1248]}, ":indices":{doc:"

Returns an Array of all the indices of an Array.

\n\n
\n\n", arg:[], file:"lib/array.fy", lines:[219, 219]}, "at:put:":{doc:"

Inserts a given object at a given index (position) in the Array.

\n\n
Index to set a value for.
Value (object) to be set at the given index.
obj
\n\n\n

\n", arg:["idx", "obj"], file:"lib/rbx/array.fy", lines:[109, 109]}, "to_ary":{file:"kernel/common/array.rb", lines:[1584, 1584]}, "concat":{file:"kernel/common/array.rb", lines:[573, 573]}, "__marshal__":{file:"kernel/common/marshal.rb", lines:[147, 147]}, ":rest":{doc:"

Returns all elements except the first one as a new Array.

\n\n
\n\n", arg:[], file:"lib/array.fy", lines:[48, 48]}, ":println":{doc:"

Prints each element on a seperate line.

\n\n
\n\n", arg:[], file:"lib/array.fy", lines:[189, 189]}, "find:":{doc:"

Returns the item, if it's in the Array or nil (if not found).

\n\n
Object / Element to find in the Array.
item if, it's found in the Array, otherwise nil.
\n\n", arg:["item"], file:"lib/array.fy", lines:[81, 81]}, "find_by:":{doc:"

Like find: but takes a block that gets called with each element to find it.

\n\n
Block to be called for each element in the Array.
The first element, for which block yields true.
\n\n", arg:["block"], file:"lib/array.fy", lines:[91, 91]}, "empty?":{file:"kernel/common/array.rb", lines:[716, 716]}, ":size":{}, "any?:":{doc:"

Takes condition-block and returns true if any element meets it.

\n\n
Predicate Block to be called for each element until it returns true for any one of them.
true if any element in self yields true for block, false otherwise.
\n\n", arg:["block"], file:"lib/rbx/array.fy", lines:[191, 191]}, ":*":{doc:"

Returns a new Array that contains the elements of self num times\nin a row.

\n\n
\n\n", arg:["num"], file:"lib/array.fy", lines:[203, 203]}, "reverse":{file:"kernel/common/array.rb", lines:[1367, 1367]}, "reject!":{file:"kernel/common/array.rb", lines:[1341, 1341]}, "at":{file:"kernel/common/array.rb", lines:[501, 501]}, ":clone":{doc:"

Clones (shallow copy) the Array.

\n\n
\n\n", arg:[], file:"lib/rbx/array.fy", lines:[42, 42]}, "reject!:":{doc:"

Same as Array#reject: but doing so in-place (destructive).

\n\n
\n\n", arg:["block"], file:"lib/rbx/array.fy", lines:[249, 249]}, ":[]":{doc:"

Given an Array of 2 Numbers, it returns the sub-array between the\ngiven indices.\nIf given a Number, returns the element at that index.

\n\n
\n\n", arg:["index"], file:"lib/array.fy", lines:[23, 23]}, ":<<":{file:"kernel/common/array.rb", lines:[354, 354]}, "select:":{doc:"

Returns a new Array with all the elements in self that yield a\ntrue-ish value when called with the given Block.

\n\n
Predicate Block to be used as filter.
Array of all the elements for which block doesn't yield false or nil.
\n\n", arg:["block"], file:"lib/rbx/array.fy", lines:[212, 212]}, ":third":{doc:"

Returns the third element in the Array

\n\n
\n\n", arg:[], file:"lib/array.fy", lines:[38, 38]}, "zip":{file:"kernel/common/array.rb", lines:[1689, 1689]}, "includes?:":{doc:"

Indicates, if an Array includes a given value.

\n\n
\n\n", arg:["obj"], file:"lib/rbx/array.fy", lines:[37, 37]}, "values_at":{file:"kernel/common/array.rb", lines:[1641, 1641]}, "indexes":{file:"kernel/common/array.rb", lines:[958, 958]}, ":fourth":{doc:"

Returns the fourth element in the Array

\n\n
\n\n", arg:[], file:"lib/array.fy", lines:[43, 43]}, "*":{file:"kernel/common/array.rb", lines:[388, 388]}, "transpose":{file:"kernel/common/array.rb", lines:[1598, 1598]}, "eql?":{file:"kernel/common/array.rb", lines:[702, 702]}, "compact":{file:"kernel/common/array.rb", lines:[552, 552]}, "assoc":{file:"kernel/common/array.rb", lines:[490, 490]}, "shift":{file:"kernel/common/array.rb", lines:[1455, 1455]}, "index":{file:"kernel/common/array.rb", lines:[946, 946]}, "reverse!":{file:"kernel/common/array.rb", lines:[1373, 1373]}, "map":{file:"kernel/bootstrap/array.rb", lines:[87, 87]}, "sort!":{file:"kernel/common/array.rb", lines:[1542, 1542]}, "indices":{file:"kernel/common/array.rb", lines:[958, 958]}, ":==":{file:"kernel/common/array.rb", lines:[469, 469]}, "flatten!":{file:"kernel/common/array.rb", lines:[852, 852]}, "each_index":{file:"kernel/common/array.rb", lines:[686, 686]}, "-":{file:"kernel/common/array.rb", lines:[424, 424]}, "to_yaml":{file:"lib/yaml/rubytypes.rb", lines:[107, 107]}, "select!:":{doc:"

Removes all elements in place, that don't meet the condition.

\n\n
self, but changed with all elements removed that don't yield true for condition.
A condition Block (or something Callable) for selecting items from self.
\n\n", arg:["condition"], file:"lib/array.fy", lines:[145, 145]}, "push":{file:"kernel/common/array.rb", lines:[1311, 1311]}, "append:":{doc:"

Appends another Array onto this one.

\n\n
\n\n", arg:["arr"], file:"lib/rbx/array.fy", lines:[28, 28]}, "combination":{file:"kernel/common/array.rb", lines:[530, 530]}, "to_a":{file:"kernel/common/array.rb", lines:[1575, 1575]}, "all?:":{doc:"

Takes condition-block and returns true if all elements meet it.

\n\n
Predicate Block to be called for each element until it returns false for any one of them.
true if all elements in self yield true for block, false otherwise.
\n\n", arg:["block"], file:"lib/rbx/array.fy", lines:[201, 201]}, "clear":{file:"kernel/common/array.rb", lines:[517, 517]}, "fetch":{file:"kernel/common/array.rb", lines:[724, 724]}, "<=>":{file:"kernel/common/array.rb", lines:[441, 441]}, "<<":{file:"kernel/common/array.rb", lines:[354, 354]}, "[]":{file:"kernel/common/array.rb", lines:[92, 92]}, "remove:":{doc:"

Removes all occurances of obj in the Array.

\n\n
Object to be removed within self.
self, with all occurances of obj removed.
\n\n", arg:["obj"], file:"lib/array.fy", lines:[168, 168]}, "reject":{file:"kernel/common/array.rb", lines:[1334, 1334]}, "each":{file:"kernel/bootstrap/array.rb", lines:[64, 64]}, ":sort":{file:"kernel/common/array.rb", lines:[1537, 1537]}, "taguri":{file:"lib/yaml/tag.rb", lines:[64, 64]}, "shuffle":{file:"kernel/common/array.rb", lines:[1517, 1517]}, "slice":{file:"kernel/common/array.rb", lines:[92, 92]}, ":+":{doc:"

Returns concatenation with another Array.

\n\n
\n\n", arg:["other_arr"], file:"lib/array.fy", lines:[213, 213]}, "slice!":{file:"kernel/common/array.rb", lines:[1479, 1479]}, "length":{}, "each_with_index:":{doc:"

Iterate over all elements in Array. Calls a given Block with each element and its index.

\n\n
Block to be called with each element and its inde in the Array.
\n\n", arg:["block"], file:"lib/rbx/array.fy", lines:[118, 118]}, ":>>":{doc:"

Returns new Array with elements of other_arr appended to these.

\n\n
Array to be appended to self.
New Array with other_arr and self appended.
\n\n", arg:["other_arr"], file:"lib/array.fy", lines:[121, 121]}, "yaml_initialize":{file:"lib/yaml/rubytypes.rb", lines:[null, null]}, "last:":{doc:"

Returns new Array with last n elements specified.

\n\n
Number of last elements to get from an Array.
Array with up to count size of last elements in self.
\n\n", arg:["count"], file:"lib/rbx/array.fy", lines:[181, 181]}, ":to_s":{doc:"

Returns String representation of Array.

\n\n
\n\n", arg:[], file:"lib/array.fy", lines:[195, 195]}, "delete_if":{file:"kernel/common/array.rb", lines:[656, 656]}, "pack":{file:"kernel/common/array.rb", lines:[1162, 1162]}, "index:":{doc:"

Returns the index of an item (or nil, if it isn't in the Array).

\n\n
Item/Value for which the index is requested within an Array.
Index of the value passed in within the Array, or nil, if value not present.
\n\n", arg:["item"], file:"lib/rbx/array.fy", lines:[133, 133]}, "start=":{}, "compact!":{file:"kernel/common/array.rb", lines:[558, 558]}, "select_with_index:":{doc:"

Same as select:, just gets also called with an additional argument\nfor each element's index value.

\n\n
\n\n", arg:["block"], file:"lib/rbx/array.fy", lines:[227, 227]}, "+":{file:"kernel/common/array.rb", lines:[416, 416]}, ":first":{doc:"

Returns the first element in the Array.

\n\n
\n\n", arg:[], file:"lib/array.fy", lines:[28, 28]}, "__rescue_match__":{file:"kernel/common/array.rb", lines:[1935, 1935]}, "tuple":{}, "to_generator":{file:"kernel/common/array.rb", lines:[1962, 1962]}, "delete_at":{file:"kernel/common/array.rb", lines:[636, 636]}, "last":{file:"kernel/common/array.rb", lines:[1066, 1066]}, "values_at:":{doc:"

Returns new Array with elements at given indices.

\n\n
Array of indices.
Array of all the items with the given indices in idx_arr.
\n\n", arg:["idx_arr"], file:"lib/array.fy", lines:[106, 106]}, "nitems":{file:"kernel/common/array.rb", lines:[1090, 1090]}, ":reverse":{file:"kernel/common/array.rb", lines:[1367, 1367]}, "from:to:":{doc:"

Returns sub-array starting at from: and going to to:

\n\n
Start index for sub-array.
End index ofr sub-array.
\n\n", arg:["from", "to"], file:"lib/rbx/array.fy", lines:[163, 163]}, "taguri=":{}, "product":{file:"kernel/common/array.rb", lines:[1282, 1282]}, ":sum":{doc:"

Calculates the sum of all the elements in the Enumerable\n(assuming them to be Numbers (implementing '+' & '*')).

\n\n
\n\n", arg:[], file:"lib/rbx/array.fy", lines:[266, 266]}, "choice":{file:"kernel/common/array.rb", lines:[1430, 1430]}, "total":{}, "shuffle!":{file:"kernel/common/array.rb", lines:[1522, 1522]}, ":=?":{doc:"

Compares two Arrays where order does not matter.

\n\n
Other Array to compare this one to.
\n\n", arg:["other"], file:"lib/array.fy", lines:[64, 64]}}}, "FancySpec":{doc:"

The FancySpec class is used for defining FancySpec testsuites.\nHave a look at the tests/ directory to see some examples.

\n\n
\n\n", methods:{"describe:for:with:":{file:"lib/fancy_spec.fy", lines:[19, 19]}, "__class_init__":{file:"lib/fancy_spec.fy", lines:[5, 5]}, "describe:with:":{file:"lib/fancy_spec.fy", lines:[13, 13]}, "new:test_obj:":{}}, ancestors:["FancySpec", "Object", "Kernel"], instance_methods:{"initialize:":{file:"lib/fancy_spec.fy", lines:[10, 10]}, "it:for:when:":{file:"lib/fancy_spec.fy", lines:[30, 30]}, ":run":{file:"lib/fancy_spec.fy", lines:[42, 42]}, "initialize:test_obj:":{file:"lib/fancy_spec.fy", lines:[9, 9]}, "it:when:":{file:"lib/fancy_spec.fy", lines:[25, 25]}}}, "Rubinius Tuple":{doc:"

Tuples are fixed-size containers providing index-based access to its\nelements.

\n\n
\n\n", methods:{"allocate":{file:"kernel/bootstrap/tuple.rb", lines:[5, 5]}, "new":{file:"kernel/bootstrap/tuple.rb", lines:[10, 10]}, "create_weakref":{file:"kernel/bootstrap/tuple.rb", lines:[162, 162]}, "[]":{file:"kernel/common/tuple.rb", lines:[14, 14]}, "pattern":{file:"kernel/bootstrap/tuple.rb", lines:[15, 15]}, "__class_init__":{file:"lib/tuple.fy", lines:[5, 5]}, ":===":{doc:"

Matches Tuple class against an object.\nIf the given object is a Tuple instance, return a Tuple object.

\n\n
Object to be matched against
Tuple instance containing the values of obj to be used in pattern matching.
\n\n", arg:["obj"], file:"lib/tuple.fy", lines:[98, 98]}, "_load":{file:"kernel/common/tuple.rb", lines:[140, 140]}}, ancestors:["Rubinius Tuple", "FancyEnumerable", "Object", "Enumerable", "Object", "Kernel"], instance_methods:{"initialize:":{doc:"

Initializes a new Tuple with a given amount of element slots.\nE.g. if size is 2, creates a 2-Tuple.

\n\n
Size of the Tuple (amount of values to hold).
\n\n", arg:["size"], file:"lib/rbx/tuple.fy", lines:[14, 14]}, "first":{file:"kernel/common/tuple.rb", lines:[125, 125]}, ":second":{doc:"

Returns the second element in the Tuple.

\n\n
\n\n", arg:[], file:"lib/tuple.fy", lines:[25, 25]}, "shift":{file:"kernel/common/tuple.rb", lines:[104, 104]}, "+":{file:"kernel/common/tuple.rb", lines:[50, 50]}, ":first":{doc:"

Returns the first element in the Tuple.

\n\n
\n\n", arg:[], file:"lib/tuple.fy", lines:[20, 20]}, "delete":{file:"kernel/bootstrap/tuple.rb", lines:[108, 108]}, "[]=":{file:"kernel/bootstrap/tuple.rb", lines:[31, 31]}, "swap":{file:"kernel/common/tuple.rb", lines:[112, 112]}, "reverse!":{file:"kernel/bootstrap/tuple.rb", lines:[156, 156]}, "_dump":{file:"kernel/common/tuple.rb", lines:[136, 136]}, "==":{file:"kernel/common/tuple.rb", lines:[34, 34]}, ":==":{doc:"

Compares two Tuples with each other.

\n\n
Other Tuple to compare self with.
true, if tuples are equal element-wise, false otherwise.
\n\n", arg:["other"], file:"lib/tuple.fy", lines:[70, 70]}, "at:":{doc:"

Returns an element at a given indes.\nPossibly throws an Rubinius ObjectBoundsExceededError.

\n\n
Index for the element to get.
Element at the given index within the Tuple or nil.
\n\n", arg:["idx"], file:"lib/rbx/tuple.fy", lines:[26, 26]}, "each:":{doc:"

Calls a given Block with each element in the Tuple.

\n\n
Block to be called for each element in self.
Return value of calling block on the last item in self.
\n\n", arg:["block"], file:"lib/tuple.fy", lines:[45, 45]}, "copy_from":{file:"kernel/bootstrap/tuple.rb", lines:[55, 55]}, "last":{file:"kernel/common/tuple.rb", lines:[129, 129]}, "at:put:":{doc:"

Sets a value for a given index within a Tuple.

\n\n
Index of element to set.
Value to set at given index.
\n\n", arg:["idx", "val"], file:"lib/rbx/tuple.fy", lines:[36, 36]}, "fields":{file:"kernel/bootstrap/tuple.rb", lines:[49, 49]}, "to_a":{file:"kernel/common/tuple.rb", lines:[96, 96]}, "empty?":{file:"kernel/common/tuple.rb", lines:[121, 121]}, ":size":{file:"kernel/bootstrap/tuple.rb", lines:[49, 49]}, "[]":{file:"kernel/bootstrap/tuple.rb", lines:[21, 21]}, "dup":{file:"kernel/bootstrap/tuple.rb", lines:[94, 94]}, "at":{file:"kernel/bootstrap/tuple.rb", lines:[39, 39]}, "each":{file:"kernel/common/tuple.rb", lines:[24, 24]}, "join_upto":{file:"kernel/common/tuple.rb", lines:[71, 71]}, ":inspect":{doc:"

Returns a String representation of a Tuple

\n\n
\n\n", arg:[], file:"lib/tuple.fy", lines:[76, 76]}, "put":{file:"kernel/bootstrap/tuple.rb", lines:[44, 44]}, ":[]":{doc:"

Forwards to Tuple#at:.

\n\n
\n\n", arg:["idx"], file:"lib/tuple.fy", lines:[15, 15]}, "inspect":{file:"kernel/common/tuple.rb", lines:[57, 57]}, ":third":{doc:"

Returns the third element in the Tuple.

\n\n
\n\n", arg:[], file:"lib/tuple.fy", lines:[30, 30]}, "to_s":{file:"kernel/common/tuple.rb", lines:[20, 20]}, "length":{file:"kernel/bootstrap/tuple.rb", lines:[49, 49]}, "===":{file:"kernel/common/tuple.rb", lines:[86, 86]}, "join":{file:"kernel/common/tuple.rb", lines:[67, 67]}, ":fourth":{doc:"

Returns the fourth element in the Tuple

\n\n
\n\n", arg:[], file:"lib/tuple.fy", lines:[35, 35]}, "size":{file:"kernel/bootstrap/tuple.rb", lines:[49, 49]}}}, "Directory":{doc:"

Instances of Directory represent directories in the filesystem of\nthe operating system, in which Fancy is being run.

\n\n
\n\n", methods:{"delete:":{doc:"

Deletes a directory with a given name, if it's empty.

\n\n
Path to Directory to delete.
\n\n", arg:["dirname"], file:"lib/rbx/directory.fy", lines:[45, 45]}, "create:":{doc:"

Creates a new Directory on the filesystem, possibly throwing\nIOError Exceptions that might occur.

\n\n
Path of Directory to create.
\n\n", arg:["dirname"], file:"lib/rbx/directory.fy", lines:[15, 15]}, "exists?:":{doc:"

Indicates, if a Directory exists with a given pathname.

\n\n
Path of Directory to check for existance.
true, if Directory exists, false otherwise.
\n\n", arg:["dirname"], file:"lib/directory.fy", lines:[15, 15]}, "create!:":{doc:"

Creates a new Directory on the filesystem, ignoring any\nExceptions that might occur.\nBasically works like running mkdir -p on the shell.

\n\n
Path of Directory to create.
\n\n", arg:["dirname"], file:"lib/rbx/directory.fy", lines:[30, 30]}, "__class_init__":{file:"lib/directory.fy", lines:[5, 5]}}, ancestors:["Directory", "Object", "Kernel"], instance_methods:{}}, "Rubinius BlockEnvironment":{doc:"

The Block class (also BlockEnvironment) is the class of all\nBlock-literal values.\nA Block is a piece of unevaluated code, that can be passed around as\nany other value and evaluated by calling the +call+ or +call:+ methods.

\n\n

Blocks also work properly with their enclosing environment in that\nthey preserve any local variables that get used within the Block,\neven if the context in which they got defined has been destroyed.\n=> Blocks are proper closures.

\n\n

See: http://en.wikipedia.org/wiki/Closure_(computer_science) for\nmore information.

\n\n
\n\n", methods:{"allocate":{file:"kernel/bootstrap/block_environment.rb", lines:[5, 5]}, "of_sender":{file:"kernel/bootstrap/block_environment.rb", lines:[20, 20]}, "__class_init__":{file:"lib/block.fy", lines:[15, 15]}}, ancestors:["Rubinius BlockEnvironment", "Object", "Kernel"], instance_methods:{"scope=":{}, "line":{file:"kernel/common/block_environment.rb", lines:[69, 69]}, "scope":{}, "call:with_receiver:":{}, "while_nil:":{doc:"

Same as Block#while_false:

\n\n
\n\n", arg:["block"], file:"lib/block.fy", lines:[35, 35]}, "call:":{}, "until_do:":{doc:"

Calls a given Block as long as self returns nil or false.

\n\n
\n\n", arg:["block"], file:"lib/block.fy", lines:[51, 51]}, "make_independent":{file:"kernel/common/block_environment.rb", lines:[47, 47]}, "metadata_container":{}, "if:":{doc:"

Calls itself if the given object is true-ish.

\n\n
\n\n", arg:["obj"], file:"lib/block.fy", lines:[81, 81]}, "method=":{}, "call_under":{file:"kernel/bootstrap/block_environment.rb", lines:[15, 15]}, ":&&":{doc:"

Short-circuiting && (boolean AND).

\n\n
\n\n", arg:["other_block"], file:"lib/block.fy", lines:[63, 63]}, "arity":{file:"kernel/common/block_environment.rb", lines:[56, 56]}, ":===":{file:"lib/block.fy", lines:[90, 90]}, "from_eval!":{file:"kernel/common/block_environment.rb", lines:[42, 42]}, "under_context":{file:"kernel/common/block_environment.rb", lines:[20, 20]}, "file":{file:"kernel/common/block_environment.rb", lines:[65, 65]}, "local_count":{}, "top_scope":{}, "proc_environment":{}, ":argcount":{doc:"

Returns the amount of arguments (arity) a Block takes.

\n\n
\n\n", arg:[], file:"lib/rbx/block.fy", lines:[8, 8]}, "call":{file:"kernel/bootstrap/block_environment.rb", lines:[10, 10]}, "while_do:":{}, "proc_environment=":{}, "top_scope=":{}, "while_true:":{}, ":||":{doc:"

Short-circuiting || (boolean OR).

\n\n
\n\n", arg:["other_block"], file:"lib/block.fy", lines:[75, 75]}, "method":{}, ":call":{file:"kernel/bootstrap/block_environment.rb", lines:[10, 10]}, "from_proc?":{file:"kernel/common/block_environment.rb", lines:[16, 16]}, "call_with_receiver:":{}, "metadata_container=":{}, "receiver=":{file:"kernel/common/block_environment.rb", lines:[30, 30]}, "call_on_instance":{file:"kernel/common/block_environment.rb", lines:[52, 52]}, "local_count=":{}, "unless:":{doc:"

Opposite of Block#if:. Calls itself if the given object is false-ish.

\n\n
\n\n", arg:["obj"], file:"lib/block.fy", lines:[87, 87]}, "while_false:":{doc:"

Executes a given Block while self evals to nil\nExample:\n i = 0\n { i >= 10 } while_false: {

\n\n
i println\ni = i + 1\n
\n\n

}

\n\n
\n\n", arg:["block"], file:"lib/block.fy", lines:[28, 28]}, "from_eval?":{file:"kernel/common/block_environment.rb", lines:[38, 38]}}}, "Method":{doc:"

An instance of Method represents a method on a Class.\nEvery method in Fancy is an instance of the Method class.

\n\n
\n\n", methods:{"__class_init__":{file:"lib/method.fy", lines:[5, 5]}}, ancestors:["Method", "Unmarshalable", "Object", "Kernel"], instance_methods:{"documentation:":{file:"lib/rbx/method.fy", lines:[7, 7]}, "name":{file:"kernel/common/method.rb", lines:[31, 31]}, "[]":{file:"kernel/common/method.rb", lines:[68, 68]}, "source_location":{file:"kernel/common/method.rb", lines:[101, 101]}, "to_proc":{file:"kernel/common/method.rb", lines:[142, 142]}, "initialize":{file:"kernel/common/method.rb", lines:[20, 20]}, "call":{file:"kernel/common/method.rb", lines:[68, 68]}, "test:":{file:"lib/method.fy", lines:[18, 18]}, "defined_in":{}, "==":{file:"kernel/common/method.rb", lines:[39, 39]}, "executable":{}, "receiver":{}, "inspect":{file:"kernel/common/method.rb", lines:[78, 78]}, "to_s":{file:"kernel/common/method.rb", lines:[78, 78]}, "owner":{file:"kernel/common/method.rb", lines:[131, 131]}, "arity":{file:"kernel/common/method.rb", lines:[59, 59]}, "unbind":{file:"kernel/common/method.rb", lines:[153, 153]}, "source":{file:"kernel/common/method.rb", lines:[109, 109]}, ":documentation":{file:"lib/rbx/method.fy", lines:[3, 3]}, "parameters":{file:"kernel/common/method.rb", lines:[117, 117]}, ":tests":{doc:"

Returns an Array of all the FancySpec SpecTests defined for a\nMethod.

\n\n
\n\n", arg:[], file:"lib/method.fy", lines:[13, 13]}}}, "FalseClass":{doc:"

FalseClass extensions for Fancy on rbx.

\n\n
\n\n", methods:{"yaml_tag_subclasses?":{file:"lib/yaml/tag.rb", lines:[null, null]}, "__class_init__":{file:"lib/yaml/rubytypes.rb", lines:[394, 394]}}, ancestors:["FalseClass", "ImmediateValue", "Object", "Kernel"], instance_methods:{"if_nil:":{doc:"

Calls the block.

\n\n
\n\n", arg:["block"], file:"lib/rbx/false_class.fy", lines:[23, 23]}, "taguri=":{}, "^":{file:"kernel/bootstrap/false.rb", lines:[7, 7]}, ":not":{doc:"

Boolean negation of false => true.

\n\n
true
\n\n\n

\n", arg:[], file:"lib/rbx/false_class.fy", lines:[56, 56]}, "if_true:":{doc:"

Returns nil.

\n\n
\n\n", arg:["block"], file:"lib/rbx/false_class.fy", lines:[13, 13]}, "if_true:else:":{doc:"

Calls else_block.

\n\n
\n\n", arg:["then_block", "else_block"], file:"lib/rbx/false_class.fy", lines:[8, 8]}, "taguri":{file:"lib/yaml/tag.rb", lines:[64, 64]}, ":to_a":{file:"lib/rbx/false_class.fy", lines:[46, 46]}, ":false?":{doc:"

Returns true.

\n\n
\n\n", arg:[], file:"lib/rbx/false_class.fy", lines:[33, 33]}, ":nil?":{doc:"

Returns true.

\n\n
\n\n", arg:[], file:"lib/rbx/false_class.fy", lines:[28, 28]}, "if_false:":{doc:"

Calls the block.

\n\n
\n\n", arg:["block"], file:"lib/rbx/false_class.fy", lines:[18, 18]}, "inspect":{file:"kernel/common/false.rb", lines:[7, 7]}, "to_s":{file:"kernel/bootstrap/false.rb", lines:[11, 11]}, ":true?":{doc:"

Returns nil.

\n\n
\n\n", arg:[], file:"lib/rbx/false_class.fy", lines:[38, 38]}, "|":{file:"kernel/bootstrap/false.rb", lines:[7, 7]}, "to_yaml":{file:"lib/yaml/rubytypes.rb", lines:[395, 395]}, "&":{file:"kernel/bootstrap/false.rb", lines:[3, 3]}, ":to_s":{file:"lib/rbx/false_class.fy", lines:[42, 42]}, "__marshal__":{file:"kernel/common/marshal.rb", lines:[31, 31]}}}, "Thread":{doc:"

Thread class.\nDeals with parallel execution.

\n\n

TODO:\n=> Still need to add more Fancy-ish wrapper methods and method\n documentation.

\n\n
\n\n", methods:{"list":{file:"kernel/common/thread.rb", lines:[301, 301]}, "guarding?":{file:"kernel/common/thread.rb", lines:[326, 326]}, "stop":{file:"kernel/common/thread.rb", lines:[151, 151]}, "critical":{file:"kernel/common/thread.rb", lines:[157, 157]}, "main":{file:"kernel/common/thread.rb", lines:[293, 293]}, "critical=":{file:"kernel/common/thread.rb", lines:[161, 161]}, "abort_on_exception":{file:"kernel/common/thread.rb", lines:[16, 16]}, "abort_on_exception=":{file:"kernel/common/thread.rb", lines:[20, 20]}, "current":{file:"kernel/bootstrap/thread.rb", lines:[5, 5]}, "__class_init__":{file:"lib/rbx/thread.fy", lines:[11, 11]}, "start":{file:"kernel/common/thread.rb", lines:[48, 48]}, "start:":{file:"lib/rbx/thread.fy", lines:[72, 72]}, ":stop":{file:"kernel/common/thread.rb", lines:[151, 151]}, ":critical":{file:"kernel/common/thread.rb", lines:[157, 157]}, "allocate":{file:"kernel/bootstrap/thread.rb", lines:[10, 10]}, ":main":{file:"kernel/common/thread.rb", lines:[293, 293]}, ":pass":{file:"kernel/bootstrap/thread.rb", lines:[15, 15]}, ":current":{file:"kernel/bootstrap/thread.rb", lines:[5, 5]}, ":abort_on_exception":{file:"kernel/common/thread.rb", lines:[16, 16]}, "detect_recursion":{file:"kernel/common/thread.rb", lines:[335, 335]}, ":list":{file:"kernel/common/thread.rb", lines:[301, 301]}, "new":{file:"kernel/common/thread.rb", lines:[40, 40]}, "new:":{file:"lib/rbx/thread.fy", lines:[52, 52]}, "abort_on_exception:":{file:"lib/rbx/thread.fy", lines:[56, 56]}, "critical:":{file:"lib/rbx/thread.fy", lines:[64, 64]}, "initialize_main_thread":{file:"kernel/common/thread.rb", lines:[297, 297]}, "pass":{file:"kernel/bootstrap/thread.rb", lines:[15, 15]}, "exclusive":{file:"lib/thread.rb", lines:[30, 30]}, "kill:":{file:"lib/rbx/thread.fy", lines:[68, 68]}, "recursion_guard":{file:"kernel/common/thread.rb", lines:[314, 314]}, "detect_outermost_recursion":{file:"kernel/common/thread.rb", lines:[389, 389]}}, ancestors:["Thread", "Object", "Kernel"], instance_methods:{":kill":{file:"kernel/common/thread.rb", lines:[116, 116]}, "fork":{file:"kernel/bootstrap/thread.rb", lines:[20, 20]}, "key?":{file:"kernel/common/thread.rb", lines:[252, 252]}, "initialize":{file:"kernel/common/thread.rb", lines:[52, 52]}, "priority":{file:"kernel/bootstrap/thread.rb", lines:[35, 35]}, "abort_on_exception":{file:"kernel/common/thread.rb", lines:[29, 29]}, ":terminate":{file:"kernel/common/thread.rb", lines:[116, 116]}, "sleeping?":{file:"kernel/common/thread.rb", lines:[125, 125]}, "group":{file:"kernel/common/thread.rb", lines:[169, 169]}, ":exit":{file:"kernel/common/thread.rb", lines:[116, 116]}, ":value":{file:"kernel/common/thread.rb", lines:[177, 177]}, "abort_on_exception=":{file:"kernel/common/thread.rb", lines:[25, 25]}, ":alive?":{file:"kernel/common/thread.rb", lines:[105, 105]}, ":run":{file:"kernel/bootstrap/thread.rb", lines:[30, 30]}, "recursive_objects":{}, "kill":{file:"kernel/common/thread.rb", lines:[116, 116]}, "set_debugging":{file:"kernel/common/thread.rb", lines:[256, 256]}, "raise":{file:"kernel/common/thread.rb", lines:[208, 208]}, "set_debugger_thread":{file:"kernel/common/thread.rb", lines:[268, 268]}, "[]":{file:"kernel/common/thread.rb", lines:[240, 240]}, "current_context":{file:"kernel/common/thread.rb", lines:[438, 438]}, "add_to_group":{file:"kernel/common/thread.rb", lines:[173, 173]}, "priority:":{file:"lib/rbx/thread.fy", lines:[40, 40]}, "keys":{file:"kernel/common/thread.rb", lines:[248, 248]}, "status":{file:"kernel/common/thread.rb", lines:[132, 132]}, "__context__":{file:"kernel/bootstrap/thread.rb", lines:[45, 45]}, "inspect":{file:"kernel/common/thread.rb", lines:[33, 33]}, "join":{file:"kernel/common/thread.rb", lines:[165, 165]}, "alive?":{file:"kernel/common/thread.rb", lines:[105, 105]}, "context":{file:"kernel/common/thread.rb", lines:[438, 438]}, ":wakeup":{file:"kernel/bootstrap/thread.rb", lines:[30, 30]}, ":join":{file:"kernel/common/thread.rb", lines:[165, 165]}, ":stop?":{file:"kernel/common/thread.rb", lines:[112, 112]}, "debug_channel":{file:"kernel/common/thread.rb", lines:[260, 260]}, "run":{file:"kernel/bootstrap/thread.rb", lines:[30, 30]}, "[]=":{file:"kernel/common/thread.rb", lines:[244, 244]}, "stop?":{file:"kernel/common/thread.rb", lines:[112, 112]}, "setup":{file:"kernel/common/thread.rb", lines:[92, 92]}, "priority=":{file:"kernel/bootstrap/thread.rb", lines:[40, 40]}, ":abort_on_exception":{file:"kernel/common/thread.rb", lines:[29, 29]}, "exit":{file:"kernel/common/thread.rb", lines:[116, 116]}, "setup_control!":{file:"kernel/common/thread.rb", lines:[287, 287]}, "terminate":{file:"kernel/common/thread.rb", lines:[116, 116]}, "wakeup":{file:"kernel/bootstrap/thread.rb", lines:[30, 30]}, "value":{file:"kernel/common/thread.rb", lines:[177, 177]}, "exclusive:":{file:"lib/rbx/thread.fy", lines:[48, 48]}, ":priority":{file:"kernel/bootstrap/thread.rb", lines:[35, 35]}, "abort_on_exception:":{file:"lib/rbx/thread.fy", lines:[60, 60]}, ":status":{file:"kernel/common/thread.rb", lines:[132, 132]}, "raise:":{file:"lib/rbx/thread.fy", lines:[44, 44]}, "__run__":{file:"kernel/common/thread.rb", lines:[64, 64]}}}, "FancySpec PositiveMatcher":{doc:"

PositiveMatcher expects its actual value to be equal to an\nexpected value.\nIf the values are not equal, a SpecTest failure is generated.

\n\n
\n\n", methods:{"__class_init__":{file:"lib/fancy_spec.fy", lines:[122, 122]}}, ancestors:["FancySpec PositiveMatcher", "Object", "Kernel"], instance_methods:{"initialize:":{file:"lib/fancy_spec.fy", lines:[null, null]}, "unknown_message:with_params:":{doc:"

Forwardy any other message and parameters to the object itself\nand checks the return value.

\n\n
\n\n", arg:["msg", "params"], file:"lib/fancy_spec.fy", lines:[146, 146]}, ":==":{file:"lib/fancy_spec.fy", lines:[128, 128]}, ":!=":{file:"lib/fancy_spec.fy", lines:[134, 134]}, "be:":{file:"lib/fancy_spec.fy", lines:[149, 149]}, "method_missing":{}}}, "Fancy Package Uninstaller":{doc:"

Fancy Package@ Uninstaller.

\n\n
\n\n", methods:{"__class_init__":{file:"lib/package/uninstaller.fy", lines:[7, 7]}}, ancestors:["Fancy Package Uninstaller", "Object", "Kernel"], instance_methods:{"initialize:":{file:"lib/package/uninstaller.fy", lines:[null, null]}, ":run":{file:"lib/package/uninstaller.fy", lines:[null, null]}}}, "Fancy Documentation RDiscount":{doc:"

A documentation formatter using ruby's RDiscount markdown

\n\n
\n\n", methods:{"__class_init__":{file:"lib/documentation.fy", lines:[100, 100]}, "rdiscount:":{doc:"

Format string as HTML using RDiscount ruby gem.

\n\n
\n\n", arg:["doc"], file:"lib/documentation.fy", lines:[109, 109]}}, ancestors:["Fancy Documentation RDiscount", "Object", "Kernel"], instance_methods:{}}, "NilClass":{doc:"

NilClass. The class of the singleton nil value.

\n\n
\n\n", methods:{"yaml_tag_subclasses?":{file:"lib/yaml/tag.rb", lines:[null, null]}, ":new":{file:"lib/nil_class.fy", lines:[7, 7]}, "__class_init__":{file:"lib/yaml/rubytypes.rb", lines:[403, 403]}}, ancestors:["NilClass", "ImmediateValue", "Object", "Kernel"], instance_methods:{"to_a":{file:"kernel/bootstrap/nil.rb", lines:[25, 25]}, "if_nil:":{doc:"

Calls the block.

\n\n
\n\n", arg:["block"], file:"lib/nil_class.fy", lines:[27, 27]}, "taguri=":{}, "^":{file:"kernel/bootstrap/nil.rb", lines:[7, 7]}, ":not":{file:"lib/nil_class.fy", lines:[54, 54]}, "if_true:":{doc:"

Returns nil.

\n\n
\n\n", arg:["block"], file:"lib/nil_class.fy", lines:[17, 17]}, "to_f":{file:"kernel/bootstrap/nil.rb", lines:[29, 29]}, "if_true:else:":{doc:"

Calls else_block.

\n\n
\n\n", arg:["then_block", "else_block"], file:"lib/nil_class.fy", lines:[12, 12]}, "nil?":{file:"kernel/bootstrap/nil.rb", lines:[19, 19]}, "__nil__":{file:"kernel/bootstrap/nil.rb", lines:[19, 19]}, "taguri":{file:"lib/yaml/tag.rb", lines:[64, 64]}, ":to_a":{file:"lib/nil_class.fy", lines:[50, 50]}, ":false?":{doc:"

Returns true.

\n\n
\n\n", arg:[], file:"lib/nil_class.fy", lines:[37, 37]}, ":nil?":{doc:"

Returns true.

\n\n
\n\n", arg:[], file:"lib/nil_class.fy", lines:[32, 32]}, "if_false:":{doc:"

Calls the block.

\n\n
\n\n", arg:["block"], file:"lib/nil_class.fy", lines:[22, 22]}, "inspect":{file:"kernel/bootstrap/nil.rb", lines:[15, 15]}, "to_s":{file:"kernel/bootstrap/nil.rb", lines:[11, 11]}, ":true?":{doc:"

Returns nil.

\n\n
\n\n", arg:[], file:"lib/nil_class.fy", lines:[42, 42]}, "to_i":{file:"kernel/bootstrap/nil.rb", lines:[33, 33]}, "|":{file:"kernel/bootstrap/nil.rb", lines:[7, 7]}, "to_yaml":{file:"lib/yaml/rubytypes.rb", lines:[404, 404]}, "&":{file:"kernel/bootstrap/nil.rb", lines:[3, 3]}, ":to_s":{file:"lib/nil_class.fy", lines:[46, 46]}, "__marshal__":{file:"kernel/common/marshal.rb", lines:[19, 19]}}}, "TCPServer":{doc:"

TCP Server

\n\n
\n\n", methods:{"__class_init__":{file:"lib/rbx/tcp_server.fy", lines:[4, 4]}}, ancestors:["TCPServer", "Socket ListenAndAccept", "IO Socketable", "TCPSocket", "IPSocket", "BasicSocket", "IO", "Unmarshalable", "File Constants", "Object", "Kernel"], instance_methods:{":accept":{file:"lib/socket.rb", lines:[453, 453]}}}, "Fancy FDoc":{doc:"

FDoc is a tool to generate API documentation from Fancy source.

\n\n

Works as follows:

\n\n
    \n
  1. We setup a handler to be invoked every time an object is set documentation\nSee fdoc_hook.fy, its loaded even before all of lib/rbx/*.fy so we can\nAlso have documentation for all fancy rubinius.
  2. \n
  3. We load boot.fy, so we get documentation for all fancy's lib.
  4. \n
  5. We run FDoc main\nwhich can possibly load any file/directory you specify and optionally\nrun specs, effectively associating them with documented objects.
  6. \n
  7. Generate output file.\nCurrently the plan is to output a json formatted object.\nTo be loaded by an html file and use jquery to build a GUI from it.
  8. \n
\n\n\n
\n\n", methods:{":main":{doc:"

FDoc will load all .fy files you give to it, and optionally run\nany specified FancySpec, and later produce documentation output.

\n\n
\n\n", arg:[], file:"lib/fdoc.fy", lines:[32, 32]}, "__class_init__":{file:"lib/fdoc.fy", lines:[22, 22]}}, ancestors:["Fancy FDoc", "Object", "Kernel"], instance_methods:{}}, "Object":{doc:"

Root class of Fancy's class hierarchy.\nAll classes inherit from Object.

\n\n
\n\n", methods:{"yaml_tag_subclasses?":{file:"lib/yaml/tag.rb", lines:[null, null]}, "__class_init__":{file:"lib/digest.rb", lines:[53, 53]}}, ancestors:["Object", "Kernel"], instance_methods:{"message_name:":{file:"lib/rbx/object.fy", lines:[106, 106]}, "returning:do:":{doc:"

Returns value after calling block with it.\nUseful for returning some object after using it, e.g.:

\n\n
# this will return [1,2]\nreturning: [] do: |arr| {\n  arr << 1\n  arr << 2\n}\n
\n\n
A Block that gets called with value before returning value.
Value that gets returned at the end.
value
\n\n\n

\n", arg:["value", "block"], file:"lib/object.fy", lines:[187, 187]}, ":to_a":{file:"lib/object.fy", lines:[90, 90]}, "or_take:":{doc:"

Returns self if it's non-nil, otherwise returns the given object.

\n\n
\n\n", arg:["other"], file:"lib/object.fy", lines:[83, 83]}, "while:do:":{doc:"

Same as:\n cond_block while_do: body_block

\n\n
\n\n", arg:["cond_block", "body_block"], file:"lib/object.fy", lines:[129, 129]}, "ruby:args:with_block:":{}, "metaclass":{file:"kernel/bootstrap/object.rb", lines:[3, 3]}, ":==":{file:"kernel/bootstrap/kernel.rb", lines:[5, 5]}, ":to_num":{file:"lib/object.fy", lines:[86, 86]}, ":&&":{doc:"

Same as Object#and:

\n\n
\n\n", arg:["other"], file:"lib/object.fy", lines:[105, 105]}, "to_yaml":{file:"lib/yaml/rubytypes.rb", lines:[15, 15]}, "loop:":{doc:"

Infinitely calls the block (loops).

\n\n
\n\n", arg:["block"], file:"lib/object.fy", lines:[9, 9]}, "ruby:args:":{}, ":dclone":{doc:"

Returns a deep clone of self using Ruby's Marshal class.

\n\n
\n\n", arg:[], file:"lib/rbx/object.fy", lines:[27, 27]}, "taguri":{file:"lib/yaml/tag.rb", lines:[64, 64]}, "send:":{file:"lib/rbx/object.fy", lines:[98, 98]}, ":nil?":{doc:"

Returns nil.

\n\n
\n\n", arg:[], file:"lib/object.fy", lines:[41, 41]}, "if_do:":{doc:"

If the object is non-nil, it calls the given block with itself as argument.

\n\n
\n\n", arg:["block"], file:"lib/object.fy", lines:[57, 57]}, "set_slot:value:":{file:"lib/rbx/object.fy", lines:[43, 43]}, ":true?":{doc:"

Returns nil.

\n\n
\n\n", arg:[], file:"lib/object.fy", lines:[51, 51]}, ":!=":{doc:"

Indicates, if two objects are unequal.

\n\n
\n\n", arg:["other"], file:"lib/object.fy", lines:[26, 26]}, "responds_to?:":{file:"lib/rbx/object.fy", lines:[115, 115]}, ":to_s":{file:"lib/rbx/object.fy", lines:[35, 35]}, "protected":{file:"/Users/backtype/projects/fancy/boot/fancy_ext/object.rb", lines:[32, 32]}, "define_singleton_method:with:":{file:"lib/rbx/object.fy", lines:[80, 80]}, "if:then:":{doc:"

Same as:

\n\n
cond if_do: block\n
\n\n
\n\n", arg:["cond", "block"], file:"lib/object.fy", lines:[112, 112]}, ":print":{doc:"

Same as Console print: self. Prints the object on STDOUT.

\n\n
\n\n", arg:[], file:"lib/object.fy", lines:[21, 21]}, "until:do:":{doc:"

Same as:\n cond_block until_do: body_block

\n\n
\n\n", arg:["cond_block", "body_block"], file:"lib/object.fy", lines:[138, 138]}, "documentation:":{doc:"

Sets the documentation string for an Object.

\n\n
\n\n", arg:["str"], file:"lib/object.fy", lines:[163, 163]}, ":class":{file:"kernel/alpha.rb", lines:[143, 143]}, "send:params:":{file:"lib/rbx/object.fy", lines:[102, 102]}, "if_do:else:":{doc:"

If the object is non-nil, it calls the given then_block with itself as argument.\nOtherwise it calls the given else_block.

\n\n
\n\n", arg:["then_block", "else_block"], file:"lib/object.fy", lines:[68, 68]}, "is_a?:":{doc:"

Indicates, if an object is an instance of a given Class.

\n\n
\n\n", arg:["class"], file:"lib/rbx/object.fy", lines:[90, 90]}, ":should_not":{doc:"

Returns a NegativeMatcher for self.

\n\n
\n\n", arg:[], file:"lib/fancy_spec.fy", lines:[200, 200]}, "if:then:else:":{doc:"

Same as:

\n\n
cond if_do: then_block else: else_block\n
\n\n
\n\n", arg:["cond", "then_block", "else_block"], file:"lib/object.fy", lines:[120, 120]}, "to_yaml_properties":{file:"lib/yaml/rubytypes.rb", lines:[null, null]}, "ruby:with_block:":{}, "unless:do:":{doc:"

Same as:\n cond if_do: { nil } else: block

\n\n
\n\n", arg:["cond", "block"], file:"lib/object.fy", lines:[147, 147]}, ":documentation":{doc:"

Returns the documentation string for an Object.

\n\n
\n\n", arg:[], file:"lib/object.fy", lines:[158, 158]}, ":===":{file:"kernel/common/kernel.rb", lines:[402, 402]}, "kind_of?:":{doc:"

Indicates, if an object is an instance of a given Class.

\n\n
\n\n", arg:["class"], file:"lib/rbx/object.fy", lines:[95, 95]}, "__show__":{file:"kernel/alpha.rb", lines:[63, 63]}, "__marshal__":{file:"kernel/common/marshal.rb", lines:[3, 3]}, ":println":{doc:"

Same as Console println: self. Prints the object on STDOUT, followed by a newline.

\n\n
\n\n", arg:[], file:"lib/object.fy", lines:[16, 16]}, ":should":{doc:"

Returns a PositiveMatcher for self.

\n\n
\n\n", arg:[], file:"lib/fancy_spec.fy", lines:[195, 195]}, ":initialize":{file:"lib/rbx/object.fy", lines:[22, 22]}, "to_yaml_style":{file:"lib/yaml/rubytypes.rb", lines:[null, null]}, "if_nil:":{doc:"

Returns nil.

\n\n
\n\n", arg:["block"], file:"lib/object.fy", lines:[36, 36]}, "taguri=":{}, "undefine_singleton_method:":{file:"lib/rbx/object.fy", lines:[84, 84]}, "public":{file:"/Users/backtype/projects/fancy/boot/fancy_ext/object.rb", lines:[26, 26]}, ":identity":{doc:"

The identity method simply returns self.

\n\n
\n\n", arg:[], file:"lib/object.fy", lines:[168, 168]}, "__metaclass__":{file:"kernel/bootstrap/object.rb", lines:[3, 3]}, ":false?":{doc:"

Returns nil.

\n\n
\n\n", arg:[], file:"lib/object.fy", lines:[46, 46]}, ":inspect":{file:"lib/rbx/object.fy", lines:[39, 39]}, "private":{file:"/Users/backtype/projects/fancy/boot/fancy_ext/object.rb", lines:[29, 29]}, "__fixnum__":{file:"kernel/bootstrap/object.rb", lines:[9, 9]}, ":||":{doc:"

Same as Object#or:

\n\n
\n\n", arg:["other"], file:"lib/object.fy", lines:[100, 100]}, "if_false:":{doc:"

Calls the block.

\n\n
\n\n", arg:["block"], file:"lib/object.fy", lines:[31, 31]}, ":to_i":{file:"lib/object.fy", lines:[94, 94]}, "and:":{doc:"

Boolean conjunction.\nReturns true if self and other are true, otherwise nil.

\n\n
\n\n", arg:["other"], file:"lib/rbx/object.fy", lines:[56, 56]}, ":++":{file:"lib/rbx/object.fy", lines:[31, 31]}, "or:":{doc:"

Boolean disjunction.\nReturns true if either self or other is true, otherwise nil.

\n\n
\n\n", arg:["other"], file:"lib/rbx/object.fy", lines:[69, 69]}, "get_slot:":{file:"lib/rbx/object.fy", lines:[47, 47]}, "method:":{doc:"

Returns the method with a given name for self, if defined.

\n\n
\n\n", arg:["method_name"], file:"lib/object.fy", lines:[154, 154]}}}, "Fancy Documentation":{doc:"

A Fancy Documentation object is a holder for docstrings and specs.\nKeeps a registry of documentation for anything Fancy.

\n\n

Provides methods for searching and formatting objects' docstrings\nthis can be be handy for users of interactive Fancy REPL,\ndocument generators, instrospection toos, IDEs, anything!.

\n\n

This object can be converted to just anything by using its format:\nmethod. formatters can be registered with Fancy Documentation formatter:is:

\n\n

By default two formatters are defined:

\n\n
 'fancy    => Returns the Fancy::Documentation object\n 'string   => Returns the docs string representation\n
\n\n
\n\n", methods:{"for:append:":{doc:"

Append docstring to the documentation for obj.\nIf obj has no documentation, one is created for it.

\n\n
\n\n", arg:["obj", "docstring"], file:"lib/documentation.fy", lines:[65, 65]}, "remove:":{doc:"

Removes the documentation for obj.

\n\n
\n\n", arg:["obj"], file:"lib/rbx/documentation.fy", lines:[55, 55]}, "formatter:is:":{doc:"

Register a callable object as formatter under name.

\n\n
\n\n", arg:["name", "callable"], file:"lib/documentation.fy", lines:[81, 81]}, ":formatters":{doc:"

Obtain the hash of known documentation formatters.

\n\n
\n\n", arg:[], file:"lib/documentation.fy", lines:[87, 87]}, "for:is:":{doc:"

Create a Fancy::Documentation instance.

\n\n

Note: As we're bootstrapping, we cannot set documentation here as\nan string literal.

\n\n

We are the very first thing to load, so just create a new\nFancy::Documentation object without using new:, and set it as\nfancy docs.

\n\n
\n\n", arg:["obj", "docstring"], file:"lib/rbx/documentation.fy", lines:[37, 37]}, "documentation_for:set_to:":{file:"lib/rbx/documentation.fy", lines:[22, 22]}, "__class_init__":{file:"lib/documentation.fy", lines:[18, 18]}, "on_documentation_set:":{file:"lib/rbx/documentation.fy", lines:[18, 18]}, "for:":{doc:"

Obtains the Fancy Documentation for obj.

\n\n
\n\n", arg:["obj"], file:"lib/rbx/documentation.fy", lines:[50, 50]}, "formatter:":{doc:"

Obtain a formatter by the given name. Returns a callable object

\n\n
\n\n", arg:["name"], file:"lib/documentation.fy", lines:[76, 76]}}, ancestors:["Fancy Documentation", "Object", "Kernel"], instance_methods:{"initialize:":{file:"lib/rbx/documentation.fy", lines:[7, 7]}, "object:":{}, ":object":{}, ":meta":{file:"lib/rbx/documentation.fy", lines:[null, null]}, "specs:":{}, "meta:":{file:"lib/rbx/documentation.fy", lines:[null, null]}, "docs:":{}, "format:":{doc:"

If format is specified, the documentation string will be\nconverted using the corresponding formatter. This allows\nyou to extend Fancy documentation system, and produce\nhtml documents, man pages, or anything you can imagine.

\n\n
\n\n", arg:["format"], file:"lib/documentation.fy", lines:[55, 55]}, ":docs":{doc:"

An array of docstrings for the object beind documented.

\n\n

We have an array of docstrings because in Fancy, some\nthings like classes can be re-openned and the user may\nspecify new documentation for it each time. Thus we dont\nwant to loose the previous documentation but rather build\nupon it. That is, fancy supports incremental documentation.

\n\n
\n\n"}, ":to_s":{file:"lib/documentation.fy", lines:[null, null]}, ":specs":{doc:"

An array of associated Fancy specs for the object\nbeing documented.

\n\n

Its a lot better to keep the associated specs in\nFancy Documentation objects instead of just having them\nin method instances. This allows us to associate any object\nwith an spec example.

\n\n

This way you can have a single Fancy spec example that\nis related to many objects (methods, constants, classes)\nthat are being specified. Later in documentation, we can\nprovide links to all specs where an object is being exercised.

\n\n
\n\n"}}}, "TrueClass":{doc:"

TrueClass. The class of the singleton true value.

\n\n
\n\n", methods:{"yaml_tag_subclasses?":{file:"lib/yaml/tag.rb", lines:[null, null]}, ":new":{file:"lib/true_class.fy", lines:[7, 7]}, "__class_init__":{file:"lib/yaml/rubytypes.rb", lines:[385, 385]}}, ancestors:["TrueClass", "ImmediateValue", "Object", "Kernel"], instance_methods:{"taguri=":{}, "^":{file:"kernel/bootstrap/true.rb", lines:[7, 7]}, ":not":{file:"lib/true_class.fy", lines:[41, 41]}, "if_true:":{doc:"

Calls the block.

\n\n
\n\n", arg:["block"], file:"lib/true_class.fy", lines:[17, 17]}, "if_true:else:":{doc:"

Calls the then_block.

\n\n
\n\n", arg:["then_block", "else_block"], file:"lib/true_class.fy", lines:[12, 12]}, "taguri":{file:"lib/yaml/tag.rb", lines:[64, 64]}, ":false?":{doc:"

Returns nil.

\n\n
\n\n", arg:[], file:"lib/true_class.fy", lines:[32, 32]}, "if_false:":{doc:"

Returns nil.

\n\n
\n\n", arg:["block"], file:"lib/true_class.fy", lines:[22, 22]}, ":nil?":{doc:"

Returns nil.

\n\n
\n\n", arg:[], file:"lib/true_class.fy", lines:[27, 27]}, "inspect":{file:"kernel/common/true.rb", lines:[5, 5]}, "to_s":{file:"kernel/bootstrap/true.rb", lines:[15, 15]}, ":true?":{doc:"

Returns true.

\n\n
\n\n", arg:[], file:"lib/true_class.fy", lines:[37, 37]}, "|":{file:"kernel/bootstrap/true.rb", lines:[11, 11]}, "to_yaml":{file:"lib/yaml/rubytypes.rb", lines:[386, 386]}, "&":{file:"kernel/bootstrap/true.rb", lines:[3, 3]}, "__marshal__":{file:"kernel/common/marshal.rb", lines:[25, 25]}}}, "Console":{doc:"

Console class. Used for STDIO.

\n\n
\n\n", methods:{":newline":{doc:"

Prints a newline to STDOUT.

\n\n
\n\n", arg:[], file:"lib/rbx/console.fy", lines:[7, 7]}, "println:":{doc:"

Prints a given object on STDOUT, followed by a newline.

\n\n
Object to be printed on STDOUT, followed by a newline.
\n\n", arg:["obj"], file:"lib/rbx/console.fy", lines:[27, 27]}, ":readln":{doc:"

Reads a line from STDIN and returns it as a String.

\n\n
Line (String) read from STDIN.
\n\n", arg:[], file:"lib/rbx/console.fy", lines:[55, 55]}, "print:":{doc:"

Prints a given object on STDOUT.

\n\n
Object to be printed on STDOUT.
\n\n", arg:["obj"], file:"lib/rbx/console.fy", lines:[17, 17]}, ":clear":{doc:"

Clears the Console.

\n\n
\n\n", arg:[], file:"lib/rbx/console.fy", lines:[61, 61]}, "__class_init__":{file:"lib/rbx/console.fy", lines:[2, 2]}, "readln:":{doc:"

Prints a given message to STDOUT, followed by reading a line from\nSTDIN.

\n\n
A String that should be printed to STDOUT before reading from STDIN.
Line (String) read from STDIN.
\n\n", arg:["message"], file:"lib/rbx/console.fy", lines:[40, 40]}}, ancestors:["Console", "Object", "Kernel"], instance_methods:{}}, "Fancy FDoc Formatter":{doc:"

A documentation formater intended to be used by FDoc.

\n\n

This formatter makes some transformations on a docstring\nand then converts it to html using markdown.

\n\n
\n\n", methods:{"create_code:":{file:"lib/fdoc.fy", lines:[336, 336]}, "remove_indentation:":{doc:"

Remove leading white space for multi-line strings.\nThis method expects the first character to be an line return.

\n\n
\n\n", arg:["str"], file:"lib/fdoc.fy", lines:[212, 212]}, "remove_tags:into:":{file:"lib/fdoc.fy", lines:[313, 313]}, "create_tags:with:":{file:"lib/fdoc.fy", lines:[326, 326]}, "create_method_references:":{file:"lib/fdoc.fy", lines:[348, 348]}, "format:":{file:"lib/fdoc.fy", lines:[195, 195]}, "__class_init__":{file:"lib/fdoc.fy", lines:[189, 189]}, "create_class_references:":{doc:"

Creates class references for Fancy class names.

\n\n

A docstring may contain class names sorounded by @\nwithout space between the @.

\n\n

Nested classes can be indicated by using :: like

\n\n

Foo::Bar

\n\n

This will create references for both, Foo and Bar

\n\n

Instance methods should be written:

\n\n

Foo::Bar#baz

\n\n

Class methods should be written:

\n\n

Foo::Bar.baz

\n\n

Some examples:

\n\n

A simple class reference:

\n\n

Fancy

\n\n

Nested class reference:

\n\n

Fancy FDoc

\n\n

A fancy method without arguments:

\n\n

Fancy FDoc JSON generate_map

\n\n

A ruby method reference (will link to ruby docs if available)

\n\n

String split

\n\n

A fancy method with many arguments:

\n\n

Fancy Package Installer initialize:version:install_path:

\n\n

A singleton method:

\n\n

Fancy FDoc Formatter format:

\n\n
\n\n", arg:["str"], file:"lib/fdoc.fy", lines:[270, 270]}, "htmlize:":{file:"lib/fdoc.fy", lines:[342, 342]}}, ancestors:["Fancy FDoc Formatter", "Object", "Kernel"], instance_methods:{}}, "Fancy Package Installer":{doc:"

Fancy Package installer.

\n\n

Downloads packages from Github (usually the latest tagged version,\nif no version is specified, or the latest HEAD revision in the\nmaster branch) and install it to the FANCY_PACKAGE_DIR.

\n\n
\n\n", methods:{"new:version:":{}, "__class_init__":{file:"lib/package/installer.fy", lines:[14, 14]}, "new:version:install_path:":{}}, ancestors:["Fancy Package Installer", "Object", "Kernel"], instance_methods:{"initialize:":{file:"lib/package/installer.fy", lines:[48, 48]}, "initialize:version:":{file:"lib/package/installer.fy", lines:[48, 48]}, ":load_fancypack":{doc:"

Loads the @.fancypack file within the downloaded package directory.\nIf no @.fancypack file is found, raise an error.

\n\n
\n\n", arg:[], file:"lib/package/installer.fy", lines:[171, 171]}, ":tags":{doc:"

Returns a list of tags the repository has on Github.

\n\n
\n\n", arg:[], file:"lib/package/installer.fy", lines:[95, 95]}, "fulfill_spec:":{file:"lib/package/installer.fy", lines:[196, 196]}, "download_tgz:":{doc:"

Downloads the .tar.gz file from Github with the given version\n(tag or branch name) and saves it to the specified install_path.

\n\n

The Default install_path is ~/.fancy/packages/.\nIf an environment variable FANCY_PACKAGE_DIR is defined, it\nwill get used.

\n\n
\n\n", arg:["version"], file:"lib/package/installer.fy", lines:[139, 139]}, ":installed_path":{file:"lib/package/installer.fy", lines:[149, 149]}, "rename_dir:":{doc:"

Renames a given directory to a common way within the install path.\n=> It will rename the given dirname to $user/$repo-$version.

\n\n
\n\n", arg:["dirname"], file:"lib/package/installer.fy", lines:[162, 162]}, "download_url:":{doc:"

Returns the download url for a given version of the package\nto be installed.

\n\n
\n\n", arg:["version"], file:"lib/package/installer.fy", lines:[114, 114]}, ":latest_tag":{doc:"

Returns the latest tag (sorted alphabetically).

\n\n
\n\n", arg:[], file:"lib/package/installer.fy", lines:[86, 86]}, ":run":{doc:"

Runs the installer & installs the package into\n$FANCY_PACKAGE_DIR.

\n\n
\n\n", arg:[], file:"lib/package/installer.fy", lines:[56, 56]}, ":lib_path":{file:"lib/package/installer.fy", lines:[153, 153]}, "unpack_file:":{file:"lib/package/installer.fy", lines:[142, 142]}, "initialize:version:install_path:":{file:"lib/package/installer.fy", lines:[48, 48]}, "has_version?:":{doc:"

Indicates, if a given version is available on Github.

\n\n
\n\n", arg:["version"], file:"lib/package/installer.fy", lines:[102, 102]}}}, "FancyEnumerable":{doc:"

Mixin-Class with useful methods for collections that implement an each: method.

\n\n
\n\n", methods:{"__class_init__":{file:"lib/enumerable.fy", lines:[4, 4]}}, ancestors:["FancyEnumerable", "Object", "Kernel"], instance_methods:{":first":{file:"lib/enumerable.fy", lines:[216, 216]}, "inject:into:":{doc:"

Same as reduce:init_val: but taking the initial value as first and the reducing block as second parameter.

\n\n
\n\n", arg:["val", "block"], file:"lib/enumerable.fy", lines:[186, 186]}, "partition_by:":{file:"lib/enumerable.fy", lines:[260, 260]}, "each:in_between:":{doc:"

Similar to each: but calls an additional Block between\ncalling the first Block for each element in self.

\n\n
\n\n", arg:["each_block", "between_block"], file:"lib/enumerable.fy", lines:[22, 22]}, "map:":{doc:"

Returns a new Array with the results of calling a given block for every element

\n\n
\n\n", arg:["block"], file:"lib/enumerable.fy", lines:[94, 94]}, ":max":{doc:"

Returns the maximum value in the Enumerable (via the '>' comparison message).

\n\n
\n\n", arg:[], file:"lib/enumerable.fy", lines:[252, 252]}, ":uniq":{doc:"

Returns a new Array with all unique values (double entries are skipped).

\n\n
\n\n", arg:[], file:"lib/enumerable.fy", lines:[191, 191]}, ":last":{doc:"

Returns the last element in an Enumerable.

\n\n
\n\n", arg:[], file:"lib/enumerable.fy", lines:[224, 224]}, "take_while:":{doc:"

Returns a new Array by taking elements from the beginning as long as they meet the given condition block.

\n\n
\n\n", arg:["condition"], file:"lib/enumerable.fy", lines:[123, 123]}, ":product":{doc:"

Calculates the product of all the elements in the Enumerable\n(assuming them to be Numbers (implementing + & *)).

\n\n
\n\n", arg:[], file:"lib/number.fy", lines:[85, 85]}, "reject:":{doc:"

Returns a new Array with all elements that don't meet the given condition block.

\n\n
\n\n", arg:["condition"], file:"lib/enumerable.fy", lines:[114, 114]}, ":empty?":{doc:"

Indicates, if the Enumerable is empty (has no elements).

\n\n
\n\n", arg:[], file:"lib/enumerable.fy", lines:[212, 212]}, ":compact":{doc:"

Returns a new Array with all values removed that are nil ( return true on nil? ).

\n\n
\n\n", arg:[], file:"lib/enumerable.fy", lines:[235, 235]}, "superior_by:":{doc:"

Returns the superiour element in the Enumerable that has met the given comparison block with all other elements.

\n\n
\n\n", arg:["comparison_block"], file:"lib/enumerable.fy", lines:[240, 240]}, "all?:":{doc:"

Similar to FancyEnumerable any?: just checking for all elements.\nIndicates, if all elements meet the condition.

\n\n
\n\n", arg:["condition"], file:"lib/enumerable.fy", lines:[60, 60]}, "find:":{doc:"

Returns nil, if the given object isn't found, or the object, if it is found.

\n\n
\n\n", arg:["item"], file:"lib/enumerable.fy", lines:[76, 76]}, "find_by:":{doc:"

Similar to find: but takes a block that is called for each element to find it.

\n\n
\n\n", arg:["block"], file:"lib/enumerable.fy", lines:[88, 88]}, "drop:":{file:"lib/enumerable.fy", lines:[164, 164]}, ":size":{doc:"

Returns the size of an Enumerable.

\n\n
\n\n", arg:[], file:"lib/enumerable.fy", lines:[203, 203]}, "any?:":{doc:"

Indicates, if any element meets the condition.

\n\n
true, if condition yields true for any element, false otherwise.
Block (or Callable) that is used to check if any element in self yields true for it.
\n\n", arg:["condition"], file:"lib/enumerable.fy", lines:[46, 46]}, "take:":{file:"lib/enumerable.fy", lines:[156, 156]}, "drop_while:":{doc:"

Returns a new Array by skipping elements from the beginning as long as they meet the given condition block.

\n\n
\n\n", arg:["condition"], file:"lib/enumerable.fy", lines:[137, 137]}, ":sum":{doc:"

Calculates the sum of all the elements in the Enumerable\n(assuming them to be Numbers (implementing '+' & '*')).

\n\n
\n\n", arg:[], file:"lib/number.fy", lines:[78, 78]}, "select:":{doc:"

Returns a new Array with all elements that meet the given condition block.

\n\n
\n\n", arg:["condition"], file:"lib/enumerable.fy", lines:[104, 104]}, "includes?:":{doc:"

Indicates, if a collection includes a given element.

\n\n
Item to check if it's included in self.
true, if item in self, otherwise false.
\n\n", arg:["item"], file:"lib/enumerable.fy", lines:[14, 14]}, "reduce:init_val:":{doc:"

Calculates a value based on a given block to be called on an accumulator value and an initial value.

\n\n
\n\n", arg:["block", "init_val"], file:"lib/enumerable.fy", lines:[174, 174]}, ":min":{doc:"

Returns the minimum value in the Enumerable (via the '<' comparison message).

\n\n
\n\n", arg:[], file:"lib/enumerable.fy", lines:[257, 257]}}}, "Hash":{doc:"

Class for Hashes (HashMaps / Dictionaries).\nMaps a key to a value.

\n\n
\n\n", methods:{"new_from_literal":{file:"kernel/common/hash.rb", lines:[115, 115]}, "allocate":{file:"kernel/common/hash.rb", lines:[120, 120]}, "yaml_tag_subclasses?":{file:"lib/yaml/tag.rb", lines:[null, null]}, "[]":{file:"kernel/common/hash.rb", lines:[78, 78]}, "__class_init__":{file:"lib/yaml/rubytypes.rb", lines:[27, 27]}}, ancestors:["Hash", "FancyEnumerable", "Object", "Enumerable", "Object", "Kernel"], instance_methods:{"each_pair":{file:"kernel/common/hash.rb", lines:[335, 335]}, "eql?":{file:"kernel/common/hash.rb", lines:[151, 151]}, "shift":{file:"kernel/common/hash.rb", lines:[604, 604]}, "key?":{file:"kernel/common/hash.rb", lines:[434, 434]}, "index":{file:"kernel/common/hash.rb", lines:[382, 382]}, "delete":{file:"kernel/common/hash.rb", lines:[256, 256]}, ":to_a":{doc:"

Returns an Array of the key-value pairs in a Hash.

\n\n
\n\n", arg:[], file:"lib/hash.fy", lines:[49, 49]}, "select":{file:"kernel/common/hash.rb", lines:[590, 590]}, "store":{file:"kernel/common/hash.rb", lines:[194, 194]}, "sort":{file:"kernel/common/hash.rb", lines:[634, 634]}, "map:":{file:"lib/rbx/hash.fy", lines:[36, 36]}, "hash":{file:"kernel/common/hash.rb", lines:[174, 174]}, "__store__":{file:"kernel/common/hash.rb", lines:[194, 194]}, "indices":{file:"kernel/common/hash.rb", lines:[667, 667]}, "each:":{doc:"

Calls a given Block with each key and value.

\n\n
\n\n", arg:["block"], file:"lib/hash.fy", lines:[27, 27]}, "has_value?":{file:"kernel/common/hash.rb", lines:[655, 655]}, "each_value":{file:"kernel/common/hash.rb", lines:[344, 344]}, "to_yaml":{file:"lib/yaml/rubytypes.rb", lines:[38, 38]}, "to_a":{file:"kernel/common/hash.rb", lines:[638, 638]}, "clear":{file:"kernel/common/hash.rb", lines:[232, 232]}, "fetch":{file:"kernel/common/hash.rb", lines:[358, 358]}, "each_entry":{file:"kernel/common/hash.rb", lines:[292, 292]}, "[]":{file:"kernel/common/hash.rb", lines:[186, 186]}, "reject":{file:"kernel/common/hash.rb", lines:[547, 547]}, "each":{file:"kernel/common/hash.rb", lines:[308, 308]}, "taguri":{file:"lib/yaml/tag.rb", lines:[64, 64]}, "keys":{file:"kernel/common/hash.rb", lines:[448, 448]}, "to_iter":{file:"kernel/common/hash.rb", lines:[643, 643]}, "inspect":{file:"kernel/common/hash.rb", lines:[413, 413]}, "member?":{file:"kernel/common/hash.rb", lines:[434, 434]}, ":keys":{file:"kernel/common/hash.rb", lines:[448, 448]}, "to_s":{file:"kernel/common/hash.rb", lines:[651, 651]}, "length":{}, "yaml_initialize":{file:"lib/yaml/rubytypes.rb", lines:[29, 29]}, ":to_s":{doc:"

Returns a string representation of a Hash.

\n\n
\n\n", arg:[], file:"lib/hash.fy", lines:[54, 54]}, "size":{}, "delete_if":{file:"kernel/common/hash.rb", lines:[283, 283]}, "replace":{file:"kernel/common/hash.rb", lines:[567, 567]}, "rehash":{file:"kernel/common/hash.rb", lines:[522, 522]}, "include?":{file:"kernel/common/hash.rb", lines:[434, 434]}, "[]=":{file:"kernel/common/hash.rb", lines:[194, 194]}, "find_entry":{file:"kernel/common/hash.rb", lines:[370, 370]}, "==":{file:"kernel/common/hash.rb", lines:[126, 126]}, "to_hash":{file:"kernel/common/hash.rb", lines:[647, 647]}, "redistribute":{file:"kernel/common/hash.rb", lines:[496, 496]}, ":values":{file:"kernel/common/hash.rb", lines:[663, 663]}, "at:":{file:"kernel/common/hash.rb", lines:[186, 186]}, "update":{file:"kernel/common/hash.rb", lines:[456, 456]}, "at:put:":{file:"kernel/common/hash.rb", lines:[194, 194]}, "default=":{file:"kernel/common/hash.rb", lines:[247, 247]}, "__marshal__":{file:"kernel/common/marshal.rb", lines:[165, 165]}, "each_value:":{doc:"

Calls a given Block with each value.

\n\n
\n\n", arg:["block"], file:"lib/hash.fy", lines:[40, 40]}, "taguri=":{}, "empty?":{file:"kernel/common/hash.rb", lines:[354, 354]}, "invert":{file:"kernel/common/hash.rb", lines:[426, 426]}, ":size":{}, "has_key?":{file:"kernel/common/hash.rb", lines:[434, 434]}, "merge":{file:"kernel/common/hash.rb", lines:[452, 452]}, "reject!":{file:"kernel/common/hash.rb", lines:[555, 555]}, ":inspect":{file:"lib/rbx/hash.fy", lines:[11, 11]}, ":[]":{doc:"

Returns the value for a given key.

\n\n
\n\n", arg:["key"], file:"lib/hash.fy", lines:[13, 13]}, "value?":{file:"kernel/common/hash.rb", lines:[655, 655]}, "merge!":{file:"kernel/common/hash.rb", lines:[456, 456]}, "each_key:":{doc:"

Calls a given Block with each key.

\n\n
\n\n", arg:["block"], file:"lib/hash.fy", lines:[32, 32]}, "values_at":{file:"kernel/common/hash.rb", lines:[667, 667]}, "indexes":{file:"kernel/common/hash.rb", lines:[667, 667]}, "default_proc":{file:"kernel/common/hash.rb", lines:[252, 252]}, "values":{file:"kernel/common/hash.rb", lines:[663, 663]}, "default":{file:"kernel/common/hash.rb", lines:[239, 239]}, "each_key":{file:"kernel/common/hash.rb", lines:[328, 328]}}}, "Fancy Package Dependency":{doc:"

Package Dependency.\nRepresents a Dependency to another Package with a given version.

\n\n
\n\n", methods:{"new:version:":{}, "__class_init__":{file:"lib/package/dependency.fy", lines:[6, 6]}}, ancestors:["Fancy Package Dependency", "Object", "Kernel"], instance_methods:{"initialize:":{file:"lib/package/dependency.fy", lines:[11, 11]}, "initialize:version:":{file:"lib/package/dependency.fy", lines:[null, null]}, ":name":{}, ":version":{}}}, "Symbol":{doc:"

Symbols are unique identifiers and only created once.

\n\n

If there are several occurrances of the same Symbol literal within\nFancy code, they all refer to the same Symbol object.

\n\n
\n\n", methods:{"yaml_new":{file:"lib/yaml/rubytypes.rb", lines:[186, 186]}, "all_symbols":{file:"kernel/common/symbol.rb", lines:[18, 18]}, "yaml_tag_subclasses?":{file:"lib/yaml/tag.rb", lines:[null, null]}, "===":{file:"kernel/bootstrap/symbol.rb", lines:[4, 4]}, "__class_init__":{file:"lib/yaml/rubytypes.rb", lines:[184, 184]}}, ancestors:["Symbol", "ImmediateValue", "Object", "Kernel"], instance_methods:{"is_ivar?":{file:"kernel/bootstrap/symbol.rb", lines:[14, 14]}, "taguri=":{}, "intern":{file:"kernel/alpha.rb", lines:[378, 378]}, "to_proc":{file:"kernel/common/symbol.rb", lines:[48, 48]}, ":eval":{file:"lib/rbx/symbol.fy", lines:[3, 3]}, "index":{file:"kernel/bootstrap/symbol.rb", lines:[9, 9]}, "call:":{doc:"

This allows Symbols to be used like Blocks\n(e.g. in all methods of Enumerable).\nExample: [1, 2, 3] map: 'squared # => [1, 4, 9]

\n\n
\n\n", arg:["arg"], file:"lib/symbol.fy", lines:[21, 21]}, "taguri":{file:"lib/yaml/tag.rb", lines:[64, 64]}, ":inspect":{file:"lib/rbx/symbol.fy", lines:[10, 10]}, "to_sym":{file:"kernel/alpha.rb", lines:[378, 378]}, "inspect":{file:"kernel/common/symbol.rb", lines:[25, 25]}, "to_s":{file:"kernel/alpha.rb", lines:[372, 372]}, "===":{file:"kernel/bootstrap/kernel.rb", lines:[5, 5]}, "id2name":{file:"kernel/alpha.rb", lines:[372, 372]}, "is_constant?":{file:"kernel/bootstrap/symbol.rb", lines:[24, 24]}, "is_cvar?":{file:"kernel/bootstrap/symbol.rb", lines:[19, 19]}, "to_yaml":{file:"lib/yaml/rubytypes.rb", lines:[194, 194]}, "__marshal__":{file:"kernel/common/marshal.rb", lines:[56, 56]}}}, "NoMethodError":{doc:"

Exception class that gets thrown when a method wasn't found within a class.

\n\n
\n\n", methods:{"__class_init__":{file:"lib/rbx/no_method_error.fy", lines:[4, 4]}}, ancestors:["NoMethodError", "NameError", "StandardError", "Exception", "Object", "Kernel"], instance_methods:{"name":{}, ":method_name":{doc:"

Returns the name of the method that was not found as a String.

\n\n
Name of the method not found (as String).
\n\n", arg:[], file:"lib/rbx/no_method_error.fy", lines:[13, 13]}, "initialize":{file:"kernel/common/exception.rb", lines:[210, 210]}, "args":{}}}, "String":{doc:"

Strings are sequences of characters and behave as such.\nAll literal Strings within Fancy code are instances of the String\nclass.

\n\n

They also include FancyEnumerable, which means you can use all the\ncommon sequence methods on them, like +map:+, +select:+ etc.

\n\n
\n\n", methods:{"clone":{file:"kernel/common/string.rb", lines:[34, 34]}, "yaml_new":{file:"lib/yaml/rubytypes.rb", lines:[150, 150]}, "allocate":{file:"kernel/common/string.rb", lines:[17, 17]}, "yaml_tag_subclasses?":{file:"lib/yaml/tag.rb", lines:[null, null]}, "dup":{file:"kernel/common/string.rb", lines:[34, 34]}, "pattern":{file:"kernel/bootstrap/string.rb", lines:[4, 4]}, "from_bytearray":{file:"kernel/common/string.rb", lines:[29, 29]}, "__class_init__":{file:"lib/yaml/rubytypes.rb", lines:[140, 140]}}, ancestors:["String", "FancyEnumerable", "Object", "Enumerable", "Comparable", "Object", "Kernel"], instance_methods:{"%":{file:"kernel/common/string.rb", lines:[60, 60]}, "start_with?":{file:"kernel/common/string.rb", lines:[1831, 1831]}, "modify!":{file:"kernel/common/string.rb", lines:[2491, 2491]}, "data":{}, "chars":{file:"kernel/common/string.rb", lines:[675, 675]}, ":=~":{file:"kernel/common/string.rb", lines:[186, 186]}, "swapcase!":{file:"kernel/common/string.rb", lines:[2074, 2074]}, "delete":{file:"kernel/common/string.rb", lines:[617, 617]}, "partition":{file:"kernel/common/string.rb", lines:[1375, 1375]}, "succ":{file:"kernel/common/string.rb", lines:[1983, 1983]}, "delete!":{file:"kernel/common/string.rb", lines:[623, 623]}, "full_to_i":{file:"kernel/common/string.rb", lines:[2636, 2636]}, "each:":{file:"lib/rbx/string.fy", lines:[29, 29]}, "resize_capacity":{file:"kernel/bootstrap/string.rb", lines:[103, 103]}, ":split":{file:"lib/rbx/string.fy", lines:[null, null]}, "find_string_reverse":{file:"kernel/bootstrap/string.rb", lines:[65, 65]}, "end_with?":{file:"kernel/common/string.rb", lines:[826, 826]}, "lines":{file:"kernel/common/string.rb", lines:[734, 734]}, "secure_compare":{file:"kernel/bootstrap/string.rb", lines:[76, 76]}, ":raise!":{doc:"

Raises a new StdError with self as the message.

\n\n
\n\n", arg:[], file:"lib/string.fy", lines:[51, 51]}, "rstrip!":{file:"kernel/common/string.rb", lines:[1460, 1460]}, "tr":{file:"kernel/common/string.rb", lines:[2138, 2138]}, "gsub":{file:"kernel/common/string.rb", lines:[867, 867]}, "tr_s":{file:"kernel/common/string.rb", lines:[2156, 2156]}, "dup":{file:"kernel/bootstrap/string.rb", lines:[26, 26]}, "find_character":{file:"kernel/bootstrap/string.rb", lines:[92, 92]}, "data=":{}, "count_table":{file:"kernel/common/string.rb", lines:[2425, 2425]}, "insert":{file:"kernel/common/string.rb", lines:[1130, 1130]}, "next":{file:"kernel/common/string.rb", lines:[1983, 1983]}, "justify":{file:"kernel/common/string.rb", lines:[2453, 2453]}, "rjust":{file:"kernel/common/string.rb", lines:[1441, 1441]}, "strip":{file:"kernel/common/string.rb", lines:[1844, 1844]}, "strip!":{file:"kernel/common/string.rb", lines:[1850, 1850]}, "inspect":{file:"kernel/common/string.rb", lines:[1172, 1172]}, ":upcase":{file:"kernel/common/string.rb", lines:[2171, 2171]}, "tr_trans":{file:"kernel/common/string.rb", lines:[2214, 2214]}, "to_s":{file:"kernel/common/string.rb", lines:[2122, 2122]}, ":whitespace?":{doc:"

Indicates, if a String is empty or a single whitespace character.

\n\n
\n\n", arg:[], file:"lib/string.fy", lines:[22, 22]}, "__data__":{}, "to_i":{file:"kernel/common/string.rb", lines:[2114, 2114]}, "rindex":{file:"kernel/common/string.rb", lines:[1319, 1319]}, "splice!":{file:"kernel/common/string.rb", lines:[2538, 2538]}, "is_binary_data?":{file:"lib/yaml/rubytypes.rb", lines:[147, 147]}, "size":{file:"kernel/bootstrap/string.rb", lines:[85, 85]}, "sub!":{file:"kernel/common/string.rb", lines:[1927, 1927]}, "subpattern_set":{file:"kernel/common/string.rb", lines:[2521, 2521]}, "rstrip":{file:"kernel/common/string.rb", lines:[1450, 1450]}, "replace":{file:"kernel/common/string.rb", lines:[1265, 1265]}, "lstrip":{file:"kernel/common/string.rb", lines:[1195, 1195]}, "=~":{file:"kernel/common/string.rb", lines:[186, 186]}, "downcase!":{file:"kernel/common/string.rb", lines:[661, 661]}, "num_bytes":{}, "dump":{file:"kernel/common/string.rb", lines:[2611, 2611]}, "include?":{file:"kernel/common/string.rb", lines:[1063, 1063]}, "next!":{file:"kernel/common/string.rb", lines:[1989, 1989]}, "[]=":{file:"kernel/common/string.rb", lines:[322, 322]}, "num_bytes=":{}, "==":{file:"kernel/common/string.rb", lines:[165, 165]}, "unpack":{file:"kernel/common/string.rb", lines:[2800, 2800]}, "each_line":{file:"kernel/common/string.rb", lines:[734, 734]}, "at:":{file:"lib/rbx/string.fy", lines:[33, 33]}, "upcase!":{file:"kernel/common/string.rb", lines:[2179, 2179]}, "split:":{file:"lib/rbx/string.fy", lines:[37, 37]}, "copy_from":{file:"kernel/bootstrap/string.rb", lines:[31, 31]}, "rpartition":{file:"kernel/common/string.rb", lines:[1412, 1412]}, "concat":{file:"kernel/common/string.rb", lines:[105, 105]}, "__marshal__":{file:"kernel/common/marshal.rb", lines:[69, 69]}, "crypt":{file:"kernel/common/string.rb", lines:[600, 600]}, ":rest":{doc:"

Returns a String containing all but the first character.

\n\n
\n\n", arg:[], file:"lib/string.fy", lines:[57, 57]}, "append":{file:"kernel/bootstrap/string.rb", lines:[21, 21]}, "empty?":{file:"kernel/common/string.rb", lines:[822, 822]}, "casecmp":{file:"kernel/common/string.rb", lines:[444, 444]}, "prefix?":{file:"kernel/common/string.rb", lines:[2593, 2593]}, ":*":{doc:"

Returns a string that is the num-fold concatenation of itself.

\n\n
\n\n", arg:["num"], file:"lib/string.fy", lines:[38, 38]}, "squeeze":{file:"kernel/common/string.rb", lines:[1802, 1802]}, "reverse":{file:"kernel/common/string.rb", lines:[1289, 1289]}, "tr!":{file:"kernel/common/string.rb", lines:[2145, 2145]}, ":downcase":{file:"kernel/common/string.rb", lines:[651, 651]}, "scan":{file:"kernel/common/string.rb", lines:[1506, 1506]}, "to_sexp":{file:"lib/melbourne.rb", lines:[19, 19]}, ":to_f":{file:"kernel/bootstrap/string.rb", lines:[9, 9]}, ":[]":{doc:"

Given an Array of 2 Numbers, it returns the substring between the given indices.\nIf given a Number, returns the character at that index.

\n\n
\n\n", arg:["index"], file:"lib/rbx/string.fy", lines:[22, 22]}, "swapcase":{file:"kernel/common/string.rb", lines:[2068, 2068]}, ":to_sexp":{file:"lib/rbx/string.fy", lines:[56, 56]}, "count":{file:"kernel/common/string.rb", lines:[581, 581]}, "subpattern":{file:"kernel/common/string.rb", lines:[2503, 2503]}, "gsub!":{file:"kernel/common/string.rb", lines:[966, 966]}, "*":{file:"kernel/common/string.rb", lines:[78, 78]}, "split":{file:"kernel/common/string.rb", lines:[1626, 1626]}, "eql?":{file:"kernel/common/string.rb", lines:[837, 837]}, "to_f":{file:"kernel/bootstrap/string.rb", lines:[9, 9]}, "lstrip!":{file:"kernel/common/string.rb", lines:[1205, 1205]}, "apply_and!":{file:"kernel/common/string.rb", lines:[2413, 2413]}, "intern":{file:"kernel/alpha.rb", lines:[402, 402]}, "index":{file:"kernel/common/string.rb", lines:[1084, 1084]}, "reverse!":{file:"kernel/common/string.rb", lines:[1294, 1294]}, "to_sub_replacement":{file:"kernel/common/string.rb", lines:[2286, 2286]}, ":==":{file:"kernel/common/string.rb", lines:[165, 165]}, "transform":{file:"kernel/bootstrap/string.rb", lines:[98, 98]}, "to_yaml":{file:"lib/yaml/rubytypes.rb", lines:[165, 165]}, "characters":{}, "chop":{file:"kernel/common/string.rb", lines:[550, 550]}, ":chomp":{file:"kernel/common/string.rb", lines:[491, 491]}, "capitalize!":{file:"kernel/common/string.rb", lines:[428, 428]}, "<=>":{file:"kernel/common/string.rb", lines:[143, 143]}, "<<":{file:"kernel/common/string.rb", lines:[105, 105]}, "[]":{file:"kernel/common/string.rb", lines:[243, 243]}, "each":{file:"kernel/common/string.rb", lines:[734, 734]}, "chop!":{file:"kernel/common/string.rb", lines:[557, 557]}, "to_inum":{file:"kernel/common/string.rb", lines:[2327, 2327]}, "taguri":{file:"lib/yaml/tag.rb", lines:[64, 64]}, "sum":{file:"kernel/common/string.rb", lines:[2052, 2052]}, "suffix?":{file:"kernel/common/string.rb", lines:[2599, 2599]}, "characters=":{}, "each_char":{file:"kernel/common/string.rb", lines:[675, 675]}, "slice":{file:"kernel/common/string.rb", lines:[243, 243]}, ":+":{file:"kernel/common/string.rb", lines:[92, 92]}, "slice!":{file:"kernel/common/string.rb", lines:[1563, 1563]}, "split_on_string":{file:"kernel/common/string.rb", lines:[1768, 1768]}, "length":{file:"kernel/bootstrap/string.rb", lines:[85, 85]}, "to_str":{file:"kernel/common/string.rb", lines:[2122, 2122]}, "shorten!":{file:"kernel/common/string.rb", lines:[2605, 2605]}, "center":{file:"kernel/common/string.rb", lines:[474, 474]}, "convert_float":{file:"kernel/bootstrap/string.rb", lines:[9, 9]}, "ljust":{file:"kernel/common/string.rb", lines:[1186, 1186]}, ":eval":{file:"lib/rbx/string.fy", lines:[45, 45]}, "substring":{file:"kernel/bootstrap/string.rb", lines:[37, 37]}, "+":{file:"kernel/common/string.rb", lines:[92, 92]}, "hex":{file:"kernel/common/string.rb", lines:[1053, 1053]}, "__data__=":{}, "each_byte":{file:"kernel/common/string.rb", lines:[696, 696]}, "compare_substring":{file:"kernel/common/string.rb", lines:[2418, 2418]}, "tr_s!":{file:"kernel/common/string.rb", lines:[2162, 2162]}, ":words":{file:"lib/string.fy", lines:[46, 46]}, "__crypt__":{file:"kernel/bootstrap/string.rb", lines:[16, 16]}, "bytesize":{file:"kernel/bootstrap/string.rb", lines:[85, 85]}, "capitalize":{file:"kernel/common/string.rb", lines:[408, 408]}, "from:to:":{file:"lib/rbx/string.fy", lines:[25, 25]}, ":blank?":{doc:"

Indicates, if a String consists only of whitespace.

\n\n
\n\n", arg:[], file:"lib/string.fy", lines:[28, 28]}, "initialize_copy":{file:"kernel/common/string.rb", lines:[1265, 1265]}, "downcase":{file:"kernel/common/string.rb", lines:[651, 651]}, "taguri=":{}, "bytes":{file:"kernel/common/string.rb", lines:[696, 696]}, "to_ast":{file:"lib/melbourne.rb", lines:[15, 15]}, "upto":{file:"kernel/common/string.rb", lines:[2198, 2198]}, "oct":{file:"kernel/common/string.rb", lines:[1255, 1255]}, "upcase":{file:"kernel/common/string.rb", lines:[2171, 2171]}, "shared!":{file:"kernel/common/string.rb", lines:[2618, 2618]}, "tr_expand!":{file:"kernel/common/string.rb", lines:[2449, 2449]}, "chomp!":{file:"kernel/common/string.rb", lines:[501, 501]}, "is_complex_yaml?":{file:"lib/yaml/rubytypes.rb", lines:[143, 143]}, "get_pattern":{file:"kernel/common/string.rb", lines:[2622, 2622]}, "squeeze!":{file:"kernel/common/string.rb", lines:[1808, 1808]}, "to_sym":{file:"kernel/alpha.rb", lines:[402, 402]}, ":to_i":{file:"kernel/common/string.rb", lines:[2114, 2114]}, "match":{file:"kernel/common/string.rb", lines:[1234, 1234]}, "sub":{file:"kernel/common/string.rb", lines:[1879, 1879]}, "succ!":{file:"kernel/common/string.rb", lines:[1989, 1989]}, ":++":{doc:"

Concatenate the String with another String

\n\n
\n\n", arg:["other"], file:"lib/string.fy", lines:[16, 16]}, "chomp":{file:"kernel/common/string.rb", lines:[491, 491]}, ":eval_global":{file:"lib/rbx/string.fy", lines:[52, 52]}}}, "Class":{doc:"

This class is the class of Class objects - e.g. Object, Array,\nString etc.\nAny class in the language is an instance of this class, as in Ruby\nor Smalltalk.

\n\n
\n\n", methods:{"allocate":{file:"kernel/bootstrap/class.rb", lines:[8, 8]}, "superclass:body:":{doc:"

Creates a new Class by subclassing superclass and using

\n\n
as its body.
The superclass to inherit from.
A new Class inherited from superclass.
\n\n", arg:["superclass", "body_block"], file:"lib/rbx/class.fy", lines:[43, 43]}, "__class_init__":{file:"lib/yaml/rubytypes.rb", lines:[null, null]}}, ancestors:["Class", "Module", "Object", "Kernel"], instance_methods:{"alias_method:for:":{doc:"

Defines an alias method for another method.

\n\n
New method name to be used as an alias for old_method_name.
Name of method to alias (must exist in the Class).
\n\n", arg:["new_method_name", "old_method_name"], file:"lib/class.fy", lines:[105, 105]}, "define_constructor_class_method:":{}, ":ancestors":{file:"kernel/common/module.rb", lines:[148, 148]}, "define_slot_reader:":{doc:"

Defines a slot reader method with a given name.\nE.g. for a slotname count it will define the following method:

\n\n
def count {\n  get_slot: 'count\n}\n
\n\n
Name of the slot to define a getter method for.
\n\n", arg:["slotname"], file:"lib/class.fy", lines:[23, 23]}, "initialize":{file:"kernel/common/class.rb", lines:[56, 56]}, "subclass:":{doc:"

Creates a new Class with self as superclass and the given body.

\n\n
A Block that gets used as the body of the Class.
A new Class inherited from self.
\n\n", arg:["body_block"], file:"lib/rbx/class.fy", lines:[97, 97]}, "instance_method:":{doc:"

Returns an instance method for a Class with a given name.

\n\n
Name of the instance method to return.
The instance Method with the given name or nil.
\n\n", arg:["name"], file:"lib/rbx/class.fy", lines:[118, 118]}, "instance_type":{}, "instance_flags":{}, "read_write_slots:":{doc:"

Defines slot reader & writer methods for all given slotnames.

\n\n
Array of slotnames to define getter & setter methods for.
\n\n", arg:["slots"], file:"lib/class.fy", lines:[72, 72]}, ":nested_classes":{doc:"

Returns all the nested classes within a Class as an Array.

\n\n
Array of all nested classes for self.
\n\n", arg:[], file:"lib/rbx/class.fy", lines:[107, 107]}, "define_class_method:with:":{doc:"

Defines a class method on a Class (a singleton method) with a\ngiven name and body.

\n\n
A Block to be used as the class methods body.
Name of the class method to be defined.
\n\n", arg:["name", "block"], file:"lib/rbx/class.fy", lines:[77, 77]}, ":new":{doc:"

Creates a new Class instance by subclassing Object.

\n\n
A new Class subclassed from Object.
\n\n", arg:[], file:"lib/rbx/class.fy", lines:[13, 13]}, ":define_forward_method_missing":{}, "to_yaml":{file:"lib/yaml/rubytypes.rb", lines:[6, 6]}, "set_superclass":{file:"kernel/bootstrap/class.rb", lines:[13, 13]}, ":===":{file:"kernel/common/module.rb", lines:[586, 586]}, "__metaclass_object__":{file:"kernel/bootstrap/class.rb", lines:[23, 23]}, "__marshal__":{file:"kernel/common/marshal.rb", lines:[37, 37]}, "subclass?:":{doc:"

Indicates, if a Class is a subclass of another Class.

\n\n
Class object to check for, if self is a subclass of class_obj.
true, if self is a subclass of class_obj, false otherwise.
\n\n", arg:["class_obj"], file:"lib/class.fy", lines:[94, 94]}, "packed!":{file:"kernel/bootstrap/class.rb", lines:[18, 18]}, "initialize_copy":{file:"kernel/common/class.rb", lines:[75, 75]}, "allocate":{file:"kernel/alpha.rb", lines:[80, 80]}, "undefine_method:":{doc:"

Undefines an instance method on a Class with a given name.

\n\n
Name of the method to undefine (remove) from a Class.
\n\n", arg:["name"], file:"lib/rbx/class.fy", lines:[65, 65]}, "undefine_class_method:":{doc:"

Undefines a class method on a Class with a given name.

\n\n
Name of the class method to undefine (remove).
\n\n", arg:["name"], file:"lib/rbx/class.fy", lines:[87, 87]}, "define_slot_writer:":{doc:"

Defines a slot writer method with a given name.\nE.g. for a slotname count it will define the following method:

\n\n
def count: c {\n  set_slot: 'count value: c\n}\n
\n\n
Name of the slot to defnie define a setter method for.
\n\n", arg:["slotname"], file:"lib/class.fy", lines:[39, 39]}, "read_slots:":{doc:"

Defines slot reader methods for all given slotnames.

\n\n
Array of slotnames to define getter methods for.
\n\n", arg:["slots"], file:"lib/class.fy", lines:[48, 48]}, "write_slots:":{doc:"

Defines slot writer methods for all given slotnames.

\n\n
Array of slotnames to define setter methods for.
\n\n", arg:["slots"], file:"lib/class.fy", lines:[60, 60]}, "new":{file:"kernel/alpha.rb", lines:[92, 92]}, "new:":{doc:"

Creates a new Class instance by subclassing superclass.

\n\n
The superclass to inherit from.
A new Class inherited from superclass.
\n\n", arg:["superclass"], file:"lib/rbx/class.fy", lines:[27, 27]}, "instance_type=":{}, "inspect":{file:"kernel/common/class.rb", lines:[97, 97]}, ":superclass":{file:"kernel/common/class.rb", lines:[84, 84]}, "to_s":{file:"kernel/common/class.rb", lines:[97, 97]}, "define_method:with:":{doc:"

Defines an instance method on a Class with a given name and\nbody.

\n\n
A Block that is used as the method's body.
Name of the method to be defined.
\n\n", arg:["name", "block"], file:"lib/rbx/class.fy", lines:[55, 55]}, "ruby_alias:":{file:"lib/rbx/object.fy", lines:[7, 7]}, "superclass":{file:"kernel/common/class.rb", lines:[84, 84]}, "alias_method_rbx:for:":{doc:"

Rbx specific version of alias_method:for: due to bootstrap order\nreasons. Should not be used directly.

\n\n
\n\n", arg:["new_method_name", "old_method_name"], file:"lib/rbx/class.fy", lines:[128, 128]}}}, "Stack":{doc:"

A simple Stack container class.

\n\n
\n\n", methods:{"__class_init__":{file:"lib/stack.fy", lines:[4, 4]}}, ancestors:["Stack", "Object", "Kernel"], instance_methods:{"initialize:":{doc:"

Initializes a new Stack with a given size.

\n\n
\n\n", arg:["size"], file:"lib/stack.fy", lines:[13, 13]}, ":initialize":{file:"lib/stack.fy", lines:[7, 7]}, ":size":{doc:"

Returns the size of the Stack.

\n\n
\n\n", arg:[], file:"lib/stack.fy", lines:[43, 43]}, ":top":{doc:"

Returns the top-of-stack element.

\n\n
\n\n", arg:[], file:"lib/stack.fy", lines:[37, 37]}, "push:":{doc:"

Pushes a value onto the Stack.

\n\n
\n\n", arg:["obj"], file:"lib/stack.fy", lines:[19, 19]}, ":pop":{doc:"

Pops the top-of-stack element from the Stack and returns it.

\n\n
\n\n", arg:[], file:"lib/stack.fy", lines:[31, 31]}, ":empty?":{doc:"

Indicates, if the Stack is empty.

\n\n
\n\n", arg:[], file:"lib/stack.fy", lines:[49, 49]}, ":<<":{doc:"

Same as Stack#push:.

\n\n
\n\n", arg:["obj"], file:"lib/stack.fy", lines:[25, 25]}}}, "FancySpec NegativeMatcher":{doc:"

NegativeMatcher expects its actual value to be unequal to an\nexpected value.\nIf the values are equal, a SpecTest failure is generated.

\n\n
\n\n", methods:{"__class_init__":{file:"lib/fancy_spec.fy", lines:[158, 158]}}, ancestors:["FancySpec NegativeMatcher", "Object", "Kernel"], instance_methods:{"initialize:":{file:"lib/fancy_spec.fy", lines:[null, null]}, "unknown_message:with_params:":{doc:"

Forwardy any other message and parameters to the object itself\nand checks the return value.

\n\n
\n\n", arg:["msg", "params"], file:"lib/fancy_spec.fy", lines:[182, 182]}, ":==":{file:"lib/fancy_spec.fy", lines:[164, 164]}, ":!=":{file:"lib/fancy_spec.fy", lines:[170, 170]}, "be:":{file:"lib/fancy_spec.fy", lines:[185, 185]}, "method_missing":{}}}}, objects:{}}); })();