method
class_options
ruby latest stable - Class:
Bundler::Thor::Base::ClassMethods
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.