Class: ActiveRecord::Dbt::Seed::Enum::Yml
- Inherits:
-
Object
- Object
- ActiveRecord::Dbt::Seed::Enum::Yml
- Includes:
- Column::DataTestable::NotNullDataTestable, Column::DataTestable::UniqueDataTestable, DataType::Mapper, I18nWrapper::Translate, Base
- Defined in:
- lib/active_record/dbt/seed/enum/yml.rb
Constant Summary
Constants included from DataType::Mapper
DataType::Mapper::RUBY_TO_DWH_PLATFORM_TYPE_MAP
Instance Attribute Summary
Attributes included from Base
#enum_column_name, #table_name
Instance Method Summary collapse
Methods included from Base
Methods included from I18nWrapper::Translate
#translated_attribute_name, #translated_table_name
Methods included from RequiredMethods
Methods included from Column::DataTestable::NotNullDataTestable
Methods included from Column::DataTestable::UniqueDataTestable
Instance Method Details
#dump ⇒ Object
22 23 24 |
# File 'lib/active_record/dbt/seed/enum/yml.rb', line 22 def dump YAML.dump(properties.deep_stringify_keys) end |
#export_path ⇒ Object
18 19 20 |
# File 'lib/active_record/dbt/seed/enum/yml.rb', line 18 def export_path "#{basename}.yml" end |