Skip to content

Instantly share code, notes, and snippets.

View adayNU's full-sized avatar
🤙
Wiggy wiggy!

Andy Day adayNU

🤙
Wiggy wiggy!
View GitHub Profile
@adayNU
adayNU / gat.rb
Last active December 13, 2019 23:10
# Intended use is producing inidvidual JournalSpec yaml files
# per "topic" / grouping of like journals which can then be
# individually applied to a Gazette broker cluster via using
# the Gazette command line tool gazctl. Ex:
# gazctl journals apply --spec=individual-output.yaml
#
# Find more on Gazette here: https://github.com/gazette/core.
require 'optparse'
require 'yaml'
class Benihana
Courses = {
"Soup" => 10,
"Salad" => 10,
"Veggies and Shrimp" => 20,
"Fried Rice" => 25,
"Rocky's Choice" => 35
}
private_constant :Courses