safe?

safe?() Class Public methods

get

get(path, parameters = nil, headers_or_env = nil) Instance Public methods Performs a GET request with the given parameters. path: The URI (as a String) on which you want to perform a GET request. parameters: The HTTP parameters that you want to pass. This may be nil, a Hash, or a String that is appropriately encoded (application/x-www-form-urlencoded or multipart/form-data). headers_or_env: Additional headers to pass, as a Hash. The headers will be merged into the Rack env has

eval_callback

eval_callback(*args) Instance Public methods Not stable, so disable this feature

block_scanf

block_scanf(fstr) Instance Public methods Scans the current string until the match is exhausted yielding each match as it is encountered in the string. A block is not necessary as the results will simply be aggregated into the final array. "123 456".block_scanf("%d") # => [123, 456] If a block is given, the value from that is returned from the yield is added to an output array. "123 456".block_scanf("%d) do |digit,| # the ',' unpacks the Array digit + 100 end # => [223, 55

<

Instance Public methods Inputs from source, which is either a string of a file name or an IO object.

edit

edit(item, text, *args) Instance Public methods

ruby

ruby(*args,&block) Instance Public methods Run a Ruby interpreter with the given arguments. Example: ruby %{-pe '$_.upcase!' <README}

new

new(encoding = UTF8) Class Public methods Create a new Psych::Nodes::Stream node with an encoding that defaults to Psych::Nodes::Stream::UTF8. See also Psych::Handler#start_stream

reqs

reqs() Instance Public methods

guid

WIN32OLE_TYPELIB#guid â The guid string. Instance Public methods Returns guid string which specifies type library. tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library') guid = tlib.guid # -> '{00020813-0000-0000-C000-000000000046}'