Module: Ramcrest::HasSize

Defined in:
lib/ramcrest/has_size.rb

Defined Under Namespace

Classes: Matcher

Class Method Summary collapse

Class Method Details

.has_size(expected) ⇒ Object



7
8
9
# File 'lib/ramcrest/has_size.rb', line 7

def has_size(expected)
  Matcher.new(Ramcrest::Is.to_matcher(expected))
end