Sha256: afc89c0c256a8a4681d068e92508d160e64f9608b9e2060c795e96e4c5974562
Contents?: true
Size: 456 Bytes
Versions: 29
Compression:
Stored size: 456 Bytes
Contents
# encoding: UTF-8 # # Copyright (c) 2010-2015 GoodData Corporation. All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. 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
29 entries across 29 versions & 2 rubygems