Module: Junoser::Cli
- Defined in:
- lib/junoser/cli.rb
Class Method Summary collapse
- .commit_check(io_or_string) ⇒ Object
- .display_set(io_or_string) ⇒ Object
- .struct(io_or_string) ⇒ Object
Class Method Details
.commit_check(io_or_string) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/junoser/cli.rb', line 10 def commit_check(io_or_string) config = Junoser::Input.new(io_or_string).read if Junoser::Display.display_set?(config) commit_check_display_set config else commit_check_structured config end end |