Server IP : 66.29.132.122 / Your IP : 18.118.2.225 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hocon-1.3.1/lib/hocon/impl/ |
Upload File : |
# encoding: utf-8 require 'hocon/impl' require 'hocon/impl/config_number' require 'hocon/config_value_type' class Hocon::Impl::ConfigInt < Hocon::Impl::ConfigNumber def initialize(origin, value, original_text) super(origin, original_text) @value = value end attr_reader :value def value_type Hocon::ConfigValueType::NUMBER end def unwrapped @value end def transform_to_string s = super if s.nil? self.to_s else s end end def long_value @value end def double_value @value end def new_copy(origin) Hocon::Impl::ConfigInt.new(origin, @value, @original_text) end end