Class: R2OAS::Schema::V3::ComponentsFileManager
- Inherits:
-
IncludeRefBaseFileManager
- Object
- Base
- Base
- Base
- BaseFileManager
- IncludeRefBaseFileManager
- R2OAS::Schema::V3::ComponentsFileManager
- Defined in:
- lib/r2-oas/schema/v3/manager/file/components_file_manager.rb
Constant Summary
Constants inherited from IncludeRefBaseFileManager
IncludeRefBaseFileManager::REF
Constants inherited from Base
Base::SUPPORT_COMPONENTS_OBJECTS
Instance Attribute Summary
Attributes inherited from BaseFileManager
Instance Method Summary collapse
-
#initialize(path, path_type = :ref) ⇒ ComponentsFileManager
constructor
A new instance of ComponentsFileManager.
- #skip_save? ⇒ Boolean
Methods inherited from IncludeRefBaseFileManager
Methods inherited from BaseFileManager
#delete, #descendants_paths, #load_data, #save, #save_after_deep_merge, #save_file_path
Methods inherited from Base
Constructor Details
#initialize(path, path_type = :ref) ⇒ ComponentsFileManager
Returns a new instance of ComponentsFileManager.
9 10 11 12 13 14 |
# File 'lib/r2-oas/schema/v3/manager/file/components_file_manager.rb', line 9 def initialize(path, path_type = :ref) super @path_type = path_type @original_path = path @recursive_search_class = self.class end |
Instance Method Details
#skip_save? ⇒ Boolean
16 17 18 |
# File 'lib/r2-oas/schema/v3/manager/file/components_file_manager.rb', line 16 def skip_save? save_file_path.in? paths_config.many_components_file_paths end |