module MauxRobot::Formatter
Public Class Methods
from(format_type)
click to toggle source
# File lib/maux_robot/formatter.rb, line 5 def self.from(format_type) case format_type when :json Formatter::Json.new else Formatter::Csv.new end end