Class: Fields::Collection

Inherits:
ContainerField show all
Defined in:
lib/hammer_cli/output/fields.rb

Instance Attribute Summary

Attributes inherited from Field

#label, #parent, #path, #sets

Instance Method Summary collapse

Methods inherited from ContainerField

#display?, #fields, #output_definition

Methods inherited from Field

#display?, #full_label, #hide_blank?, #hide_missing?, #id, #match_id?, #parameters

Constructor Details

#initialize(options = {}, &block) ⇒ Collection

Returns a new instance of Collection.



133
134
135
136
# File 'lib/hammer_cli/output/fields.rb', line 133

def initialize(options={}, &block)
  options[:numbered] = true if options[:numbered].nil?
  super(options, &block)
end