7 8 9 10 11 12 13 14 15 16
# File 'lib/screiji/cli.rb', line 7 def reiji(file) example = Screiji.example(file) case example when Array when Hash puts JSON.pretty_generate(example) else puts example end end