class EmptyAssay
Empty assertion tests an object with ‘#empty?` method.
Public Class Methods
pass?(subject)
click to toggle source
Check assertion with ‘#empty?`.
# File lib/assay/empty_assay.rb, line 12 def self.pass?(subject) subject.empty? end