Class: MobyUtil::ParameterUserAPI
- Defined in:
- lib/tdriver/util/parameter/parameter.rb
Overview
Parameter
Class Method Summary collapse
-
.instance ⇒ Object
TODO: document me.
- .method_missing(id, *args) ⇒ Object
- .new ⇒ Object
Class Method Details
.instance ⇒ Object
TODO: document me
1143 1144 1145 1146 1147 1148 1149 |
# File 'lib/tdriver/util/parameter/parameter.rb', line 1143 def instance warn_caller "$1:$2 warning: deprecated method #{ self.name }##{ __method__ }; please use #{ self.name } class static methods instead" TDriver::ParameterUserAPI end |
.method_missing(id, *args) ⇒ Object
1134 1135 1136 1137 1138 1139 1140 |
# File 'lib/tdriver/util/parameter/parameter.rb', line 1134 def method_missing( id, *args ) warn_caller "$1:$2 warning: deprecated method; use TDriver::ParameterUserAPI##{ id.to_s } instead of MobyUtil::ParameterUserAPI##{ id.to_s }" TDriver::ParameterUserAPI.__send__( id, *args ) end |
.new ⇒ Object
1126 1127 1128 1129 1130 1131 1132 |
# File 'lib/tdriver/util/parameter/parameter.rb', line 1126 def new warn_caller "$1:$2 warning: #{ to_s } is static class; unable initialize new instance of it" nil end |