Results for: "module_function"

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

A list of file names contained in this gem

No documentation available

The dependencies of the gem for this specification

The dependencies of the gem for this specification

Does not print anything when complete as this object has taken a vow of silence.

Prints out the terminal message.

Prints out the terminal message.

The silent download reporter won’t tell you when the download is done. Because it is silent.

Indicates the download is complete.

Authenticates a req and returns a 401 Unauthorized using res if the authentication was not correct.

Authenticates a req and returns a 401 Unauthorized using res if the authentication was not correct.

Cancels the timeout handler id

Cancels the timeout handler id

No documentation available
No documentation available

Returns the same as calling inspect on the string representation of to_str

No documentation available

Returns an array of two elements: the filename where the calling method is located, and the line number where it is defined.

Takes an optional argument i, which specifies how many callers up the stack to look.

Examples:

require 'rss/utils'

def foo
  p RSS::Utils.get_file_and_line_from_caller
  p RSS::Utils.get_file_and_line_from_caller(1)
end

def bar
  foo
end

def baz
  bar
end

baz
# => ["test.rb", 5]
# => ["test.rb", 9]

If i is not given, or is the default value of 0, it attempts to figure out the correct value. This is useful when in combination with instance_eval. For example:

require 'rss/utils'

def foo
  p RSS::Utils.get_file_and_line_from_caller(1)
end

def bar
  foo
end

instance_eval <<-RUBY, *RSS::Utils.get_file_and_line_from_caller
def baz
  bar
end
RUBY

baz

# => ["test.rb", 8]

@return [Conflict] a {Conflict} that reflects the failure to activate

the {#possibility} in conjunction with the current {#state}
Search took: 5ms  ·  Total Results: 3558