var search_data = {"index":{"searchIndex":["array","hash","kernel","object","d()","display()","fn()","has_shape?()","identity()","prompt()","random_subarray()","to_ostruct()","with()","zip_with()","readme"],"longSearchIndex":["array","hash","kernel","object","object#d()","object#display()","kernel#fn()","hash#has_shape?()","object#identity()","kernel#prompt()","array#random_subarray()","hash#to_ostruct()","kernel#with()","array#zip_with()",""],"info":[["Array","","Array.html","",""],["Hash","","Hash.html","","
Recursively converts a Hash
and all nested Hash
es\nto OpenStruct
s. Especially useful for parsing YAML …\n"],["Kernel","","Kernel.html","",""],["Object","","Object.html","",""],["d","Object","Object.html#method-i-d","(new_line = true)",""],["display","Object","Object.html#method-i-display","(new_line = true)","
Outputs the object and also returns it. Will use puts
if\nnew_line
is true
and print
\notherwise.\n\n
"foo".display ...\n"],["fn","Kernel","Kernel.html#method-i-fn","(*funs)","
Composes a list of functions. Functions can be specified as symbols or\nlambdas.\n\n
["foo bar", "baz qux"].map ...\n"],["has_shape?","Hash","Hash.html#method-i-has_shape-3F","(shape)","
Checks if a hash has a certain structure.\n\n
h = { k1: 1, k2: "1" }\nh.has_shape?(k1: Fixnum, k2: String) ...\n"],["identity","Object","Object.html#method-i-identity","()","
An identity method that provides access to an object’s self
.\n\n
[1,2,3,4,5,1,2,2,3].group_by(&:identity) ...\n"],["prompt","Kernel","Kernel.html#method-i-prompt","(text='', conversion=nil)","
Displays a prompt and returns chomped input. Modelled after the Python\nmethod raw_input
, but also can …\n"],["random_subarray","Array","Array.html#method-i-random_subarray","(n=1)","
Generates random subarrays. Uses random numbers and bit-fiddling to assure\nperformant uniform distributions …\n"],["to_ostruct","Hash","Hash.html#method-i-to_ostruct","()",""],["with","Kernel","Kernel.html#method-i-with","(o, &blk)","
A Pascal/ActionScript like with
method. Yields its argument to\nthe provided block and then returns it. …\n"],["zip_with","Array","Array.html#method-i-zip_with","(other, op=nil)","
Zip self
with other
, combining the elements with\nthe provided block or symbol. The resulting array will …\n"],["README","","README_rdoc.html","","
Shenanigans\n
shenanigan (plural shenanigans):\n
Trickery, games; skulduggery. To “call”, “claim” …\n"]]}}