摘要: require "YAML"var = YAML.load(File.open('b.yml'))#哈希puts var.class #Hashprint var ,"\n" #{"data"=>{"list"=>["Item1", "Item2", "Item3"], "hash"=>{"key1 阅读全文
posted @ 2018-07-12 07:36 素人渔芙2017 阅读(293) 评论(0) 推荐(0) 编辑