Module: CompletenessFu
- Defined in:
- lib/completeness-fu.rb,
lib/completeness-fu/scoring_builder.rb,
lib/completeness-fu/active_model_additions.rb
Defined Under Namespace
Modules: ActiveModelAdditions Classes: CompletenessFuError, ScoringBuilder
Class Attribute Summary collapse
-
.common_weightings ⇒ Object
Returns the value of attribute common_weightings.
-
.default_gradings ⇒ Object
Returns the value of attribute default_gradings.
-
.default_i18n_namespace ⇒ Object
Returns the value of attribute default_i18n_namespace.
-
.default_weighting ⇒ Object
Returns the value of attribute default_weighting.
Class Method Summary collapse
Class Attribute Details
.common_weightings ⇒ Object
Returns the value of attribute common_weightings.
5 6 7 |
# File 'lib/completeness-fu.rb', line 5 def common_weightings @common_weightings end |
.default_gradings ⇒ Object
Returns the value of attribute default_gradings.
8 9 10 |
# File 'lib/completeness-fu.rb', line 8 def default_gradings @default_gradings end |
.default_i18n_namespace ⇒ Object
Returns the value of attribute default_i18n_namespace.
7 8 9 |
# File 'lib/completeness-fu.rb', line 7 def default_i18n_namespace @default_i18n_namespace end |
.default_weighting ⇒ Object
Returns the value of attribute default_weighting.
6 7 8 |
# File 'lib/completeness-fu.rb', line 6 def default_weighting @default_weighting end |
Class Method Details
.setup_orm(orm_class) ⇒ Object
24 25 26 |
# File 'lib/completeness-fu.rb', line 24 def self.setup_orm(orm_class) orm_class.class_eval { include CompletenessFu::ActiveModelAdditions } end |