Parent

Methods

Class/Module Index [+]

Quicksearch

HammerCLI::Output::RecordCollection

Attributes

meta[RW]

Public Class Methods

new(data, options={}) click to toggle source
# File lib/hammer_cli/output/record_collection.rb, line 25
def initialize(data, options={})
  super [data].flatten(1)
  if options.has_key?(:meta) && options[:meta].class <= MetaData
    @meta = options[:meta]
  else
    @meta = MetaData.new(options)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.