Sha256: f81c1a6db5143788da601662cf2afa37fb2d3af34ff6b6dcbde3cbb30dc7c591
Contents?: true
Size: 562 Bytes
Versions: 1
Compression:
Stored size: 562 Bytes
Contents
# -*- coding: utf-8 -*- require 'yaml' require 'pp' yaml =<<EOF :file: :opts: :short: "-f" :long: "--’¥Õ’¥¡’¥¤’¥ë" :desc: File’Áà’ºî :title: ’¥Õ’¥¡’¥¤’¥ë’Áà’ºîfile :cont: - c-x c-f, Find file, ’¥Õ’¥¡’¥¤’¥ë’¤ò’³«’¤¯ - c-x c-s, Save file, ’¥Õ’¥¡’¥¤’¥ë’¤ò’Êݒ¸ - c-x c-w, Write file NAME, ’¥Õ’¥¡’¥¤’¥ë’¤ò’Ê̒̾’¤Ç’½ñ’¤’¹þ’¤à EOF pp data=YAML.load(yaml) print YAML.dump(data) data0={:new_item=> {:opts=>{:short=>"-n", :long=>"--new_item", :desc=>"new item"}, :title=>"new_item", :cont=> ["new cont"]}} print YAML.dump(data0)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
my_help-0.3.3 | lib/my_help/#test.rb# |