Sha256: a87d3c2b8647b1458b5222e84d6285bb27a5ac82e3d9ec6b145d8bf575f4dc5d
Contents?: true
Size: 575 Bytes
Versions: 77
Compression:
Stored size: 575 Bytes
Contents
# encoding: UTF-8 # # Copyright (c) 2010-2017 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 Model class TabBuilder def initialize(title) @title = title @stuff = [] end def add_report(options = {}) @stuff << { :type => :report }.merge(options) end def to_hash { :title => @title, :items => @stuff } end end end end
Version data entries
77 entries across 77 versions & 1 rubygems