Class: Avm::Instances::Configuration
- Inherits:
-
EacRubyUtils::Configs
- Object
- EacRubyUtils::Configs
- Avm::Instances::Configuration
- Defined in:
- lib/avm/instances/configuration.rb
Constant Summary collapse
- FILENAMES =
%w[.avm.yml .avm.yaml].freeze
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(path) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(path) ⇒ Configuration
Returns a new instance of Configuration.
30 31 32 |
# File 'lib/avm/instances/configuration.rb', line 30 def initialize(path) super(nil, storage_path: path) end |
Class Method Details
.find_by_path(path) ⇒ Object
12 13 14 15 |
# File 'lib/avm/instances/configuration.rb', line 12 def find_by_path(path) path = ::Pathname.new(path.to_s) unless path.is_a?(::Pathname) internal_find_path(path.) end |