module Helium::Console::Formatters::Overflow

Public Class Methods

get(type) click to toggle source
# File lib/helium/console/formatters/overflow.rb, line 7
def self.get(type)
  require "helium/console/formatters/overflow/#{type}"
  const_get(type.to_s.split('_').map(&:capitalize).join)
rescue LoadError
  raise Error, "Unknown overflow option: #{type}"
end