Class: KeywordParameterMatchers::NullMethod
- Inherits:
-
Object
- Object
- KeywordParameterMatchers::NullMethod
- Defined in:
- lib/keyword_parameter_matchers/null_method.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.new_if_nil(method) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/keyword_parameter_matchers/null_method.rb', line 3 def self.new_if_nil(method) if method.nil? new else method end end |
Instance Method Details
#name ⇒ Object
11 12 13 |
# File 'lib/keyword_parameter_matchers/null_method.rb', line 11 def name '' end |
#parameters ⇒ Object
15 16 17 |
# File 'lib/keyword_parameter_matchers/null_method.rb', line 15 def parameters [] end |