class Cookbooks::CreateBigYamlCookbook
Constants
- NAMESPACE
#¶ ↑
NAMESPACE¶ ↑
#¶ ↑
- STORE_INTO_THIS_FILE
#¶ ↑
STORE_INTO_THIS_FILE¶ ↑
#¶ ↑
Public Class Methods
[](i = '')
click to toggle source
Public Instance Methods
create_big_yaml_file()
click to toggle source
#¶ ↑
#create_big_yaml_file¶ ↑
#¶ ↑
# File lib/cookbooks/misc/create_big_yaml_cookbook.rb, line 72 def create_big_yaml_file _ = ::Cookbooks::AvailableCookbooks[].programs? _.each {|program| opnn; e simp(program) hash = {} dataset = Cookbooks::Cookbook.return_array(program) { :bypass_menu } hash[program] = dataset @hash.update(hash) } what = YAML.dump(@hash) into = STORE_INTO_THIS_FILE write_what_into(what, into) opnn; e 'Storing into `'+sfile(into)+'`.' end
input?()
click to toggle source
opnn()
click to toggle source
reset()
click to toggle source
run()
click to toggle source