module TableCreator
A group of rows
Can be of type: [:header, :footer, :body]
Constants
- Error
- VERSION
Public Class Methods
add_formatter(type, klass, method)
click to toggle source
# File lib/table_creator.rb, line 17 def self.add_formatter(type, klass, method) formatters(type)[klass] = method end
formatters(type)
click to toggle source
# File lib/table_creator.rb, line 12 def self.formatters(type) @formatters ||= {} @formatters[type] ||= {} end