class method self.new

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

self.new(type, filename)

No documentation comment.

Parameters

type req
filename req
Source
# File activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/exceptions.rb, line 48
    def initialize(type, filename)
      @type, @filename = type, filename
      super "can not load translations from #{filename}, the file type #{type} is not known"
    end

Defined in activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/exceptions.rb line 48 · View on GitHub · Improve this page · Find usages on GitHub

Defined in I18n::UnknownFileType

Type at least 2 characters to search.

↑↓ navigate · open · esc close