Class: RubyArguments::NullArguments

Inherits:
RubyArguments show all
Defined in:
lib/ruby_arguments.rb

Constant Summary

Constants inherited from RubyArguments

VERSION

Instance Attribute Summary

Attributes inherited from RubyArguments

#args, #block, #kwargs

Instance Method Summary collapse

Methods inherited from RubyArguments

#==, #[], #any?, #blank?, #deconstruct, #deconstruct_keys, #empty?, #eql?, #hash, #none?, null_arguments, #present?

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.



38
39
40
41
42
# File 'lib/ruby_arguments.rb', line 38

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

Instance Method Details

#null_arguments?Boolean

Returns:

  • (Boolean)


48
49
50
# File 'lib/ruby_arguments.rb', line 48

def null_arguments?
  true
end