Sha256: 83f8795c5132043a9c13b92e9a6c9b59dee720ebfb3e6da11969e0a887c4bd66
Contents?: true
Size: 477 Bytes
Versions: 6
Compression:
Stored size: 477 Bytes
Contents
# encoding: utf-8 require 'formatafacil/tarefa' module Formatafacil class ArquivoConfiguracaoAusenteException < Exception end class TarefaChooser def escolhe_tarefa raise Formatafacil::ArquivoConfiguracaoAusenteException, "Não foi possível localizar o arquivo de configuração: #{Formatafacil::Tarefa.arquivo_configuracao}" unless File.exist?(Formatafacil::Tarefa.arquivo_configuracao) Formatafacil::ArtigoTarefa.new end end end
Version data entries
6 entries across 6 versions & 1 rubygems