Sha256: 5bb768240ba77be453072294b065422edfd8b20026b0b753f773c3468c9f9379
Contents?: true
Size: 576 Bytes
Versions: 1
Compression:
Stored size: 576 Bytes
Contents
require File.join(File.dirname(__FILE__), "data_result.rb") module GoodData class EmptyResult < DataResult def initialize(data, options = {}) super(data) @options = options assemble_table end def to_s "No Data" end def assemble_table @table = [[]] # CSV::Table.new([GoodData::Row.new([],[],false)]) end def to_table @table end def without_column_headers @table end def == (otherDataResult) false end def diff(otherDataResult) ['empty'] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gooddata-0.6.0.pre11 | lib/gooddata/models/empty_result.rb |