class Should
Public Instance Methods
be(*raw_args, &blok)
click to toggle source
# File lib/Bacon_FS_Matchers.rb, line 13 def be *raw_args, &blok args = raw_args.flatten if !block_given? && args.size == 2 && args.first.is_a?(Proc) && args.last.is_a?(Proc) desc = args.first.call(Exposed.new self) blok = args.last return be_not_array( desc, &blok ) end be_not_array(*raw_args, &blok) end
Also aliased as: be_not_array