GRAYBYTE WORDPRESS FILE MANAGER3714

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/ruby19/lib64/ruby/1.9.1/psych/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/ruby19/lib64/ruby/1.9.1/psych//deprecated.rb
require 'date'

module Psych
  DEPRECATED = __FILE__ # :nodoc:

  module DeprecatedMethods # :nodoc:
    attr_accessor :taguri
    attr_accessor :to_yaml_style
  end

  def self.quick_emit thing, opts = {}, &block # :nodoc:
    warn "#{caller[0]}: YAML.quick_emit is deprecated" if $VERBOSE && !caller[0].start_with?(File.dirname(__FILE__))
    target = eval 'self', block.binding
    target.extend DeprecatedMethods
    metaclass = class << target; self; end
    metaclass.send(:define_method, :encode_with) do |coder|
      target.taguri        = coder.tag
      target.to_yaml_style = coder.style
      block.call coder
    end
    target.psych_to_yaml unless opts[:nodump]
  end

  def self.load_documents yaml, &block
    if $VERBOSE
      warn "#{caller[0]}: load_documents is deprecated, use load_stream"
    end
    list = load_stream yaml
    return list unless block_given?
    list.each(&block)
  end

  def self.detect_implicit thing
    warn "#{caller[0]}: detect_implicit is deprecated" if $VERBOSE
    return '' unless String === thing
    return 'null' if '' == thing
    ScalarScanner.new.tokenize(thing).class.name.downcase
  end

  def self.add_ruby_type type_tag, &block
    warn "#{caller[0]}: add_ruby_type is deprecated, use add_domain_type" if $VERBOSE
    domain = 'ruby.yaml.org,2002'
    key = ['tag', domain, type_tag].join ':'
    @domain_types[key] = [key, block]
  end

  def self.add_private_type type_tag, &block
    warn "#{caller[0]}: add_private_type is deprecated, use add_domain_type" if $VERBOSE
    domain = 'x-private'
    key = [domain, type_tag].join ':'
    @domain_types[key] = [key, block]
  end

  def self.tagurize thing
    warn "#{caller[0]}: add_private_type is deprecated, use add_domain_type" if $VERBOSE
    return thing unless String === thing
    "tag:yaml.org,2002:#{thing}"
  end

  def self.read_type_class type, reference
    warn "#{caller[0]}: read_type_class is deprecated" if $VERBOSE
    _, _, type, name = type.split ':', 4

    reference = name.split('::').inject(reference) do |k,n|
      k.const_get(n.to_sym)
    end if name
    [type, reference]
  end

  def self.object_maker klass, hash
    warn "#{caller[0]}: object_maker is deprecated" if $VERBOSE
    klass.allocate.tap do |obj|
      hash.each { |k,v| obj.instance_variable_set(:"@#{k}", v) }
    end
  end
end

class Object
  undef :to_yaml_properties rescue nil
  def to_yaml_properties # :nodoc:
    instance_variables
  end
end

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 22:50:37
root / root
0755
handlers
--
March 03 2024 22:48:05
root / linksafe
0755
json
--
March 03 2024 22:48:05
root / linksafe
0755
nodes
--
March 03 2024 22:48:05
root / linksafe
0755
visitors
--
March 03 2024 22:48:05
root / linksafe
0755
coder.rb
2.02 KB
January 19 2011 23:05:53
root / linksafe
0644
core_ext.rb
0.855 KB
March 29 2012 01:25:11
root / linksafe
0644
deprecated.rb
2.402 KB
June 13 2011 03:54:53
root / linksafe
0644
handler.rb
6.667 KB
August 07 2012 20:50:05
root / linksafe
0644
nodes.rb
2.325 KB
May 15 2011 11:55:52
root / linksafe
0644
omap.rb
0.044 KB
March 30 2010 10:46:06
root / linksafe
0644
parser.rb
1.642 KB
March 29 2012 01:25:11
root / linksafe
0644
scalar_scanner.rb
3.29 KB
March 29 2012 01:25:11
root / linksafe
0644
set.rb
0.043 KB
March 30 2010 10:46:06
root / linksafe
0644
stream.rb
0.831 KB
May 15 2011 11:55:52
root / linksafe
0644
streaming.rb
0.472 KB
February 26 2011 13:59:48
root / linksafe
0644
syntax_error.rb
0.513 KB
March 29 2012 01:46:14
root / linksafe
0644
tree_builder.rb
2.055 KB
March 29 2012 01:25:11
root / linksafe
0644
visitors.rb
0.201 KB
January 21 2011 19:11:53
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF