Method: Ramcrest::HasAttribute.has_attribute

Defined in:
lib/ramcrest/has_attribute.rb

.has_attribute(attribute_name, value_matcher = Ramcrest::Anything.anything()) ⇒ Object



8
9
10
# File 'lib/ramcrest/has_attribute.rb', line 8

def has_attribute(attribute_name, value_matcher = Ramcrest::Anything.anything())
  Matcher.new(attribute_name, value_matcher)
end