class Djin::MainConfig

Public Instance Methods

deep_merge(file_config) click to toggle source
# File lib/djin/entities/main_config.rb, line 26
def deep_merge(file_config)
  merged_hash = to_h.deep_merge(file_config.to_h)

  MainConfig.new(merged_hash)
end
merge(file_config) click to toggle source
# File lib/djin/entities/main_config.rb, line 20
def merge(file_config)
  merged_hash = to_h.merge(file_config.to_h)

  MainConfig.new(merged_hash)
end
version_supported?() click to toggle source
# File lib/djin/entities/main_config.rb, line 16
def version_supported?
  Vseries::SemanticVersion.new(Djin::VERSION) >= Vseries::SemanticVersion.new(djin_version)
end