Method: Fission::UI#output_printf
- Defined in:
- lib/fission/ui.rb
#output_printf(string, key, value) ⇒ Object
Internal: Outputs the specified arguments printf style. The ‘printf’ method will be called on the stdout object. Currently, this assuems there are two data items.
string - The printf String. key - The String for the first data item. value - The String for the second data item.
Examples
ui.output_printf "%s %s\n", 'foo',
Returns nothing.
49 50 51 |
# File 'lib/fission/ui.rb', line 49 def output_printf(string, key, value) @stdout.send :printf, string, key, value end |