Class: ConvenientService::Support::Arguments::NullArguments Private

Inherits:
ConvenientService::Support::Arguments show all
Defined in:
lib/convenient_service/support/arguments/null_arguments.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary

Attributes inherited from ConvenientService::Support::Arguments

#args, #block, #kwargs

Instance Method Summary collapse

Methods inherited from ConvenientService::Support::Arguments

#==, #any?, #none?, null_arguments

Constructor Details

#initializevoid

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



13
14
15
16
17
# File 'lib/convenient_service/support/arguments/null_arguments.rb', line 13

def initialize
  @args = []
  @kwargs = {}
  @block = nil
end

Instance Method Details

#null_arguments?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


22
23
24
# File 'lib/convenient_service/support/arguments/null_arguments.rb', line 22

def null_arguments?
  true
end