Module: GreenPepper::ErrorHelper
- Defined in:
- lib/greenpepper/exception/greenpepperexception.rb
Class Method Summary collapse
- .create_greenpepper_missing_method(func, fixture) ⇒ Object
- .raise_greenpepper_missing_method(func, fixture) ⇒ Object
Class Method Details
.create_greenpepper_missing_method(func, fixture) ⇒ Object
51 52 53 54 |
# File 'lib/greenpepper/exception/greenpepperexception.rb', line 51 def ErrorHelper.create_greenpepper_missing_method(func, fixture) GreenPepperMissingMethodError.new( "Cannot find method #{func} on fixture #{fixture.class}.") end |
.raise_greenpepper_missing_method(func, fixture) ⇒ Object
47 48 49 |
# File 'lib/greenpepper/exception/greenpepperexception.rb', line 47 def ErrorHelper.raise_greenpepper_missing_method(func, fixture) raise create_greenpepper_missing_method(func, fixture) end |