REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.19 KB
Close
//proc/thread-self/root/opt/alt/ruby19/lib64/ruby/1.9.1/syck/yamlnode.rb
Text
Base64
# # YAML::YamlNode class # require 'syck/basenode' module Syck # # YAML Generic Model container # class YamlNode include BaseNode attr_accessor :kind, :type_id, :value, :anchor def initialize(t, v) @type_id = t if Hash === v @kind = 'map' @value = {} v.each {|key,val| @value[key.transform] = [key, val] } elsif Array === v @kind = 'seq' @value = v elsif String === v @kind = 'scalar' @value = v end end # # Transform this node fully into a native type # def transform t = nil if @value.is_a? Hash t = {} @value.each { |k,v| t[ k ] = v[1].transform } elsif @value.is_a? Array t = [] @value.each { |v| t.push v.transform } else t = @value end Syck.transfer_method( @type_id, t ) end end end
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 14
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
baseemitter.rb
4.85 KB
lrw-r--r--
2010-04-03 21:50:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
basenode.rb
6.47 KB
lrw-r--r--
2010-07-19 04:54:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
constants.rb
1.16 KB
lrw-r--r--
2010-04-03 21:50:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
encoding.rb
751 B
lrw-r--r--
2010-04-03 21:50:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
error.rb
1.04 KB
lrw-r--r--
2010-04-03 21:50:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
loader.rb
296 B
lrw-r--r--
2010-04-03 21:50:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rubytypes.rb
14.49 KB
lrw-r--r--
2012-03-06 02:43:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
stream.rb
768 B
lrw-r--r--
2010-04-03 21:50:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
stringio.rb
1.98 KB
lrw-r--r--
2010-04-03 21:50:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
syck.rb
194 B
lrw-r--r--
2011-05-15 11:55:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
tag.rb
3.16 KB
lrw-r--r--
2010-04-16 20:31:59
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
types.rb
4.88 KB
lrw-r--r--
2010-04-03 21:50:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
yamlnode.rb
1.19 KB
lrw-r--r--
2010-04-03 21:50:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ypath.rb
1.35 KB
lrw-r--r--
2010-04-03 21:50:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).