Sha256: d73857d31e4697423caa6b7ce77ef51a9c35901af8422b011d3498550a16cff1

Contents?: true

Size: 159 Bytes

Versions: 47

Compression:

Stored size: 159 Bytes

Contents

module LambdaBlock
  private
  def assert_funcs(fn, block_given)
    raise 'Cannot pass both lambda and block expressions' if !fn.nil? && block_given
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
totally_lazy-0.1.62 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.61 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.60 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.59 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.58 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.57 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.56 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.55 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.54 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.53 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.52 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.51 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.50 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.49 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.48 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.47 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.46 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.45 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.44 lib/totally_lazy/lambda_block.rb
totally_lazy-0.1.43 lib/totally_lazy/lambda_block.rb