Method: Junoser::Cli.struct
- Defined in:
- lib/junoser/cli.rb
.struct(io_or_string) ⇒ Object
31 32 33 34 35 36 37 38 39 |
# File 'lib/junoser/cli.rb', line 31 def struct(io_or_string) config = Junoser::Input.new(io_or_string).read if Junoser::Display.display_set?(config) Junoser::Display::Structure.new(config).transform else config end end |