module GoodData::Bricks::Utils
Public Instance Methods
Source
# File lib/gooddata/bricks/utils.rb, line 10 def returning(value, &block) raise 'Block was not provided' if block.nil? return_val = value yield value return_val end
# File lib/gooddata/bricks/utils.rb, line 10 def returning(value, &block) raise 'Block was not provided' if block.nil? return_val = value yield value return_val end