lib/testable/attribute.rb
# This is an attribute that can be specified on a model, such as a page
# object. When this attribute is provided, the model will have a way to
# match the URL in the browser with the matcher provided via this
# attribute.
This is an attribute that can be specified on a model, such as a page
object. When this attribute is provided, the model will have a way to
match the URL in the browser with the matcher provided via this
attribute.
This is an attribute that can be specified on a model such as a page object . When this attribute is provided the model will have a way to match the URL in the browser with the matcher provided via this attribute .
def url_matches(pattern = nil)
        url_match_is_empty if pattern.nil?
        url_match_is_empty if pattern.is_a?(String) && pattern.empty?
        @url_match = pattern
      end
def url_matches ( pattern = nil ) url_match_is_empty if pattern . nil? url_match_is_empty if pattern . is_a? ( String ) && pattern . empty? @url_match = pattern end
This is an attribute that can be specified on a model, such as a page
object.
This is an attribute that can be specified on a model such as a page object .
pattern
<not_specific>