Class: Vcloud::Tools::Tester::TestParameters
- Inherits:
-
Object
- Object
- Vcloud::Tools::Tester::TestParameters
- Defined in:
- lib/vcloud/tools/tester/test_parameters.rb
Instance Method Summary collapse
-
#initialize(user_params, fixture_params) ⇒ TestParameters
constructor
A new instance of TestParameters.
Constructor Details
#initialize(user_params, fixture_params) ⇒ TestParameters
Returns a new instance of TestParameters.
7 8 9 10 11 12 13 14 |
# File 'lib/vcloud/tools/tester/test_parameters.rb', line 7 def initialize(user_params, fixture_params) raise "No user parameters received" if user_params.empty? @user_params = user_params @fixture_params = fixture_params define_attr_readers end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name) ⇒ Object (private)
27 28 29 |
# File 'lib/vcloud/tools/tester/test_parameters.rb', line 27 def method_missing (method_name) raise "Method TestParameters##{method_name} not defined" end |