Anons79 Mini Shell

Directory : /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hocon-1.3.1/lib/hocon/impl/
Upload File :
Current File : //opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hocon-1.3.1/lib/hocon/impl/config_null.rb

# encoding: utf-8

require 'hocon/impl'
require 'hocon/config_value_type'

class Hocon::Impl::ConfigNull
  include Hocon::Impl::AbstractConfigValue

  def initialize(origin)
    super(origin)
  end

  def value_type
    Hocon::ConfigValueType::NULL
  end

  def unwrapped
    nil
  end

  def transform_to_string
    "null"
  end

  def render_value_to_sb(sb, indent, at_root, options)
    sb << "null"
  end

  def new_copy(origin)
    self.class.new(origin)
  end

end

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]