Class: R2OAS::Schema::V3::PathItemFileManager
- Inherits:
-
IncludeRefBaseFileManager
- Object
- Base
- Base
- Base
- BaseFileManager
- IncludeRefBaseFileManager
- R2OAS::Schema::V3::PathItemFileManager
- Defined in:
- lib/r2-oas/schema/v3/manager/file/path_item_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) ⇒ PathItemFileManager
constructor
A new instance of PathItemFileManager.
- #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) ⇒ PathItemFileManager
Returns a new instance of PathItemFileManager.
11 12 13 14 |
# File 'lib/r2-oas/schema/v3/manager/file/path_item_file_manager.rb', line 11 def initialize(path, path_type = :ref) super @recursive_search_class = ComponentsFileManager end |
Instance Method Details
#skip_save? ⇒ Boolean
16 17 18 |
# File 'lib/r2-oas/schema/v3/manager/file/path_item_file_manager.rb', line 16 def skip_save? save_file_path.in? paths_config.many_paths_file_paths end |