class Hocon::Impl::SimpleIncluder::RelativeNameSource
Public Class Methods
Source
# File lib/hocon/impl/simple_includer.rb, line 110 def initialize(context) @context = context end
Public Instance Methods
Source
# File lib/hocon/impl/simple_includer.rb, line 114 def name_to_parseable(name, options) p = @context.relative_to(name) if p.nil? # avoid returning nil Hocon::Impl::Parseable.new_not_found(name, "include was not found: '#{name}'", options) else p end end