Method: MacWifi::CommandLineInterface#cmd_i
- Defined in:
- lib/mac-wifi/command_line_interface.rb
#cmd_i ⇒ Object
272 273 274 275 276 277 278 279 280 281 282 283 |
# File 'lib/mac-wifi/command_line_interface.rb', line 272 def cmd_i info = model.wifi_info if interactive_mode info else if post_processor puts post_processor.(info) else puts fancy_string(info) end end end |