class ResolveStatus

Private Class Methods

from_boolean(resolved) click to toggle source
# File lib/hocon/impl/resolve_status.rb, line 16
def self.from_boolean(resolved)
  resolved ? RESOLVED : UNRESOLVED
end
from_values(values) click to toggle source
# File lib/hocon/impl/resolve_status.rb, line 8
def self.from_values(values)
  if values.any? { |v| v.resolve_status == UNRESOLVED }
    UNRESOLVED
  else
    RESOLVED
  end
end