Class: Dictionary
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Dictionary
- Extended by:
- Team
- Defined in:
- app/models/dictionary.rb
Instance Method Summary (collapse)
- - (Object) definitions_count
- - (Object) manual_definitions=(val)
-
- (Boolean) manual_definitions?
Whether to expect #import_definitions.
- - (Object) name
Methods included from Team
Instance Method Details
- (Object) definitions_count
110 111 112 |
# File 'app/models/dictionary.rb', line 110 def definitions_count @definitions_count ||= definitions.count end |
- (Object) manual_definitions=(val)
118 119 120 |
# File 'app/models/dictionary.rb', line 118 def manual_definitions= val @manual_definitions = val end |
- (Boolean) manual_definitions?
Whether to expect #import_definitions
114 115 116 117 |
# File 'app/models/dictionary.rb', line 114 def manual_definitions? return @manual_definitions if defined? @manual_definitions false end |
- (Object) name
107 108 109 |
# File 'app/models/dictionary.rb', line 107 def name title end |