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, HashSupport, Model, Request, Singular, WaitFor
Classes: Hash, Mock, Service, String
Constant Summary
collapse
- Error =
Class.new(StandardError)
- Timeout =
Class.new(Error)
- VERSION =
'2.5.0'
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
48
49
50
|
# File 'lib/cistern.rb', line 48
def self.deprecation(message, source = caller[1])
STDERR.puts("#{message}. (#{source})") if deprecation_warnings?
end
|
.deprecation_warnings=(status) ⇒ Object
44
45
46
|
# File 'lib/cistern.rb', line 44
def self.deprecation_warnings=(status)
@deprecation_warnings = status
end
|
.deprecation_warnings? ⇒ Boolean
40
41
42
|
# File 'lib/cistern.rb', line 40
def self.deprecation_warnings?
@deprecation_warnings.nil? ? true : !!@deprecation_warnings
end
|
32
33
34
|
# File 'lib/cistern.rb', line 32
def self.formatter=(formatter)
@formatter = formatter
end
|