Class: HasManyTranslations::Translation

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/has_many_translations/translation.rb

Overview

The ActiveRecord model representing translations.

Instance Method Summary collapse

Instance Method Details

#initial?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/has_many_translations/translation.rb', line 6

def initial?
  number == 1
end