module DocuBot::Converter
Public Class Methods
by_type()
click to toggle source
# File lib/docubot/converter.rb, line 8 def self.by_type @by_type end
to_convert( *types, &block )
click to toggle source
# File lib/docubot/converter.rb, line 5 def self.to_convert( *types, &block ) types.each{ |type| @by_type[type.to_s] = block } end
types()
click to toggle source
# File lib/docubot/converter.rb, line 11 def self.types @by_type.keys end