Module: Quby::Questionnaires::Entities::StripOuterScoreCall
- Defined in:
- lib/quby/questionnaires/entities/score_calculation.rb
Overview
method_source gem gives us the full score source code including the initial ‘score() do` DSL call. This module helps strip off that outer DSL call.
Class Method Summary collapse
- .alarm(*args, &block) ⇒ Object
- .attention(*args, &block) ⇒ Object
- .completion(*args, &block) ⇒ Object
- .score(*args, &block) ⇒ Object
- .subscore(*args, &block) ⇒ Object
- .variable(*args, &block) ⇒ Object
Class Method Details
.alarm(*args, &block) ⇒ Object
21 22 23 |
# File 'lib/quby/questionnaires/entities/score_calculation.rb', line 21 def self.alarm(*args, &block) block end |
.attention(*args, &block) ⇒ Object
17 18 19 |
# File 'lib/quby/questionnaires/entities/score_calculation.rb', line 17 def self.attention(*args, &block) block end |
.completion(*args, &block) ⇒ Object
25 26 27 |
# File 'lib/quby/questionnaires/entities/score_calculation.rb', line 25 def self.completion(*args, &block) block end |
.score(*args, &block) ⇒ Object
9 10 11 |
# File 'lib/quby/questionnaires/entities/score_calculation.rb', line 9 def self.score(*args, &block) block end |
.subscore(*args, &block) ⇒ Object
29 30 31 |
# File 'lib/quby/questionnaires/entities/score_calculation.rb', line 29 def self.subscore(*args, &block) block end |
.variable(*args, &block) ⇒ Object
13 14 15 |
# File 'lib/quby/questionnaires/entities/score_calculation.rb', line 13 def self.variable(*args, &block) block end |