Sha256: 2b2fd917cf89d28cb569ab4ad354774bdd15c34306a6dd09478a9fc4e56319eb
Contents?: true
Size: 255 Bytes
Versions: 19
Compression:
Stored size: 255 Bytes
Contents
# encoding: UTF-8 module GoodData module Bricks module Utils def returning(value, &block) fail 'Block was not provided' if block.nil? return_val = value block.call(value) return_val end end end end
Version data entries
19 entries across 19 versions & 1 rubygems