class Object
Public Instance Methods
expected_caption()
click to toggle source
# File lib/neuroncheck/plugin/not_empty.rb, line 12 def expected_caption "non-empty #{@api.get_expected_value_caption(@child_target)}" end
match?(value)
click to toggle source
# File lib/neuroncheck/plugin/not_empty.rb, line 8 def match?(value) @api.expected_value_match?(value, @child_target) and value.respond_to?(:empty?) and not value.empty? end
on_call(child_target)
click to toggle source
# File lib/neuroncheck/plugin/not_empty.rb, line 4 def on_call(child_target) @child_target = child_target end