Class: Tabry::Models::FileOption

Inherits:
ConfigObject show all
Defined in:
lib/tabry/models/file_option.rb

Constant Summary collapse

FIELDS =
{
  type: :string,
}.freeze

Instance Attribute Summary

Attributes inherited from ConfigObject

#_raw, #_root

Instance Method Summary collapse

Methods inherited from ConfigObject

as_json, #as_json, #assert_of_class, #init_field_boolean, #init_field_list_object, #init_field_object, #init_field_string, #init_field_string_array, #initialize, #inspect, #to_s

Constructor Details

This class inherits a constructor from Tabry::Models::ConfigObject

Instance Method Details

#flattenObject



20
21
22
# File 'lib/tabry/models/file_option.rb', line 20

def flatten
  self
end

#options(_token, _params) ⇒ Object

Handled by tabry-bash/tabry-bash.sh/shell, we just return a symbol to communicate to tabry-bash



16
17
18
# File 'lib/tabry/models/file_option.rb', line 16

def options(_token, _params)
  [:file]
end