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: Associations, 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.10.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
51
52
53
|
# File 'lib/cistern.rb', line 51
def self.deprecation(message, source = caller[1])
STDERR.puts("#{message}. (#{source})") if deprecation_warnings?
end
|
.deprecation_warnings=(status) ⇒ Object
47
48
49
|
# File 'lib/cistern.rb', line 47
def self.deprecation_warnings=(status)
@deprecation_warnings = status
end
|
.deprecation_warnings? ⇒ Boolean
43
44
45
|
# File 'lib/cistern.rb', line 43
def self.deprecation_warnings?
@deprecation_warnings.nil? ? true : !!@deprecation_warnings
end
|
35
36
37
|
# File 'lib/cistern.rb', line 35
def self.formatter=(formatter)
@formatter = formatter
end
|