Method: Thor::Base::ClassMethods#arguments

Defined in:
lib/thor/base.rb

#argumentsObject

Returns this class arguments, looking up in the ancestors chain.

Returns

Array

[View source]

293
294
295
# File 'lib/thor/base.rb', line 293

def arguments
  @arguments ||= from_superclass(:arguments, [])
end