Class: MobyUtil::Parameter

Inherits:
Object show all
Defined in:
lib/tdriver/util/parameter/parameter.rb

Overview

ParameterHash

Class Method Summary collapse

Class Method Details

.instanceObject

TODO: document me



1108
1109
1110
1111
1112
1113
1114
# File 'lib/tdriver/util/parameter/parameter.rb', line 1108

def instance

  warn_caller "$1:$2 warning: deprecated method #{ self.name }##{ __method__ }; please use #{ self.name } class static methods instead"
  
  TDriver::Parameter

end

.method_missing(id, *args) ⇒ Object



1099
1100
1101
1102
1103
1104
1105
# File 'lib/tdriver/util/parameter/parameter.rb', line 1099

def method_missing( id, *args )
    
  warn_caller "$1:$2 warning: deprecated method; use TDriver::Parameter##{ id.to_s } instead of MobyUtil::Parameter##{ id.to_s }"

  TDriver::Parameter.__send__( id, *args ) 
      
end

.newObject



1091
1092
1093
1094
1095
1096
1097
# File 'lib/tdriver/util/parameter/parameter.rb', line 1091

def new

  warn_caller "$1:$2 warning: #{ to_s } is static class; unable initialize new instance of it"

  nil

end