Module: TablePrinter
- Defined in:
- lib/table_printer.rb,
lib/table_printer/version.rb
Constant Summary collapse
- VERSION =
"0.0.5"
Class Method Summary collapse
Class Method Details
.table_printer(value, limit) ⇒ Object
4 5 6 7 8 |
# File 'lib/table_printer.rb', line 4 def self.table_printer(value, limit) for i in 1..limit puts "#{value} * #{i} = #{value * i}" end end |