Module: Xqsr3::Quality::ParameterChecking
- Defined in:
- lib/xqsr3/quality/parameter_checking.rb
Overview
Inclusion module that creates class and instance methods check_parameter
that may be used to check parameter values and types
Defined Under Namespace
Modules: Util_
Class Method Summary collapse
-
.check_param(value, name, options = {}, &block) ⇒ Object
Please use
check_parameter
instead. -
.check_parameter(value, name, options = {}, &block) ⇒ Object
Check a given parameter (value=
value
, name=name
) for type and value. - .included(base) ⇒ Object
Class Method Details
.check_param(value, name, options = {}, &block) ⇒ Object
Note:
This is obsolete, and will be removed in a future version.
Please use check_parameter
instead
193 194 195 196 |
# File 'lib/xqsr3/quality/parameter_checking.rb', line 193 def self.check_param value, name, = {}, &block Util_.check_parameter value, name, , &block end |
.check_parameter(value, name, options = {}, &block) ⇒ Object
Check a given parameter (value=value
, name=name
) for type and value
184 185 186 187 |
# File 'lib/xqsr3/quality/parameter_checking.rb', line 184 def self.check_parameter value, name, = {}, &block Util_.check_parameter value, name, , &block end |
.included(base) ⇒ Object
81 82 83 84 |
# File 'lib/xqsr3/quality/parameter_checking.rb', line 81 def self.included base base.extend self end |