132 133 134 135 136 137 138
# File 'lib/peck/expectations.rb', line 132 def should(*args, &block) if self.kind_of?(Class) && (self < Peck::Context) Peck::Should::Specification.new(self) else Peck::Should.new(self).be(*args, &block) end end