Sha256: 93534596d0940430d6f2268454a432b967b4e72498da2a641ee6f9ace7318a4d

Contents?: true

Size: 168 Bytes

Versions: 5

Compression:

Stored size: 168 Bytes

Contents

# -*- encoding : utf-8 -*-
module LambdaDriver::Mzero
  def mzero?
    mzero_method = self.respond_to?(:empty?) ? :empty? : :nil?
    self.send(mzero_method)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lambda_driver-1.3.0 lib/lambda_driver/mzero.rb
lambda_driver-1.2.4 lib/lambda_driver/mzero.rb
lambda_driver-1.2.3 lib/lambda_driver/mzero.rb
lambda_driver-1.2.2 lib/lambda_driver/mzero.rb
lambda_driver-1.2.1 lib/lambda_driver/mzero.rb