Sha256: 37be8cffa5aede1980c3b3d7b77ba52b06550bc808bb3c5365e4a9f62d41119e

Contents?: true

Size: 225 Bytes

Versions: 18

Compression:

Stored size: 225 Bytes

Contents

module Relish
  module Helpers
    
    def error(message)
      message = ErrorMessages.send(message) if message.is_a?(Symbol)
      
      $stderr.puts(message)
      exit 1
    end
    module_function :error
    
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
relish-0.7.1 lib/relish/helpers.rb
relish-0.7 lib/relish/helpers.rb
relish-0.6 lib/relish/helpers.rb
relish-0.5.3 lib/relish/helpers.rb
relish-0.5.2 lib/relish/helpers.rb
relish-0.5.1 lib/relish/helpers.rb
relish-0.5.0 lib/relish/helpers.rb
relish-0.4.0 lib/relish/helpers.rb
relish-0.3.0 lib/relish/helpers.rb
relish-0.3.0.pre lib/relish/helpers.rb
relish-0.2.3 lib/relish/helpers.rb
relish-0.2.2 lib/relish/helpers.rb
relish-0.2.1 lib/relish/helpers.rb
relish-0.2.0 lib/relish/helpers.rb
relish-0.1.6 lib/relish/helpers.rb
relish-0.1.5 lib/relish/helpers.rb
relish-0.1.4 lib/relish/helpers.rb
relish-0.1.3 lib/relish/helpers.rb