This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Benihana | |
Courses = { | |
"Soup" => 10, | |
"Salad" => 10, | |
"Veggies and Shrimp" => 20, | |
"Fried Rice" => 25, | |
"Rocky's Choice" => 35 | |
} | |
private_constant :Courses |