Class: Fields::Collection
- Inherits:
-
ContainerField
- Object
- Field
- ContainerField
- Fields::Collection
- Defined in:
- lib/hammer_cli/output/fields.rb
Instance Attribute Summary
Attributes inherited from Field
Instance Method Summary collapse
-
#initialize(options = {}, &block) ⇒ Collection
constructor
A new instance of Collection.
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(={}, &block) [:numbered] = true if [:numbered].nil? super(, &block) end |