Module: Cistern
- Extended by:
- WaitFor
- Defined in:
- lib/cistern.rb,
lib/cistern/mock.rb,
lib/cistern/timeout.rb,
lib/cistern/version.rb,
lib/cistern/wait_for.rb
Defined Under Namespace
Modules: Attributes, Client, Collection, Coverage, Data, Formatter, Model, Request, Singular, WaitFor
Classes: Hash, Mock, Service, String
Constant Summary
collapse
- Error =
Class.new(StandardError)
- Timeout =
Class.new(Error)
- VERSION =
'2.2.6'
Class Method Summary
collapse
Methods included from WaitFor
poll_interval, poll_interval=, timeout, timeout=, timeout_error, timeout_error=, wait_for, wait_for, wait_for!, wait_for!
Class Method Details
.deprecation(message, source = caller[1]) ⇒ Object
47
48
49
|
# File 'lib/cistern.rb', line 47
def self.deprecation(message, source = caller[1])
STDERR.puts("#{message}. (#{source})") if deprecation_warnings?
end
|
.deprecation_warnings=(status) ⇒ Object
43
44
45
|
# File 'lib/cistern.rb', line 43
def self.deprecation_warnings=(status)
@deprecation_warnings = status
end
|
.deprecation_warnings? ⇒ Boolean
39
40
41
|
# File 'lib/cistern.rb', line 39
def self.deprecation_warnings?
@deprecation_warnings.nil? ? true : !!@deprecation_warnings
end
|
31
32
33
|
# File 'lib/cistern.rb', line 31
def self.formatter=(formatter)
@formatter = formatter
end
|