method

class_options

ruby latest stable - Class: Bundler::Thor::Base::ClassMethods

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

class_options(options = nil)
public

Adds a bunch of options to the set of class options.

class_options :foo => false, :bar => :required, :baz => :string

If you prefer more detailed declaration, check class_option.

Parameters

Hash[Symbol => Object]