Class: ConsulApplicationSettings::Resolvers::Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/consul_application_settings/resolvers/abstract.rb

Overview

Abstract resolver with basic functionality

Instance Method Summary collapse

Instance Method Details

#resolvable?(_value, _path) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/consul_application_settings/resolvers/abstract.rb', line 5

def resolvable?(_value, _path)
  false
end

#resolve(value, _path) ⇒ Object



9
10
11
# File 'lib/consul_application_settings/resolvers/abstract.rb', line 9

def resolve(value, _path)
  value
end