Sha256: 374d53287134cc3d11eb015c644387c564d2be31d50a6b8693732036a35ca3f8

Contents?: true

Size: 206 Bytes

Versions: 4

Compression:

Stored size: 206 Bytes

Contents

class AwsInventory::Presenter::Base
  def initialize(options, data)
    @options = options
    @data = data
  end

  def data
    @options[:header] ? @data : @data[1..-1]  # remove the header row
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aws-inventory-0.4.5 lib/aws_inventory/presenters/base.rb
aws-inventory-0.4.3 lib/aws_inventory/presenters/base.rb
aws-inventory-0.4.2 lib/aws_inventory/presenters/base.rb
aws-inventory-0.4.0 lib/aws_inventory/presenters/base.rb