Sha256: 172ee823ac71ecbb17a4f777856c4d2d2d7bd8db9755c26cebc9444ddb72ae78
Contents?: true
Size: 224 Bytes
Versions: 1
Compression:
Stored size: 224 Bytes
Contents
# encoding: UTF-8 module GoodData::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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gooddata-0.6.0 | lib/gooddata/bricks/utils.rb |