Sha256: b6a781203801ea6e2767ad4f0ef44969adb02d99fdf7a1bbfbe1553a4d7d9ee6

Contents?: true

Size: 208 Bytes

Versions: 1

Compression:

Stored size: 208 Bytes

Contents

require 'i18n'

module Schamu
  class Error < StandardError

    private
      def translate( key, args = {} )
        I18n.translate key, args.merge( scope: [:shamu,:errors,:messages] )
      end
  end


end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shamu-0.0.1 lib/shamu/error.rb