Method: Bundler::Thor::Base::ClassMethods#remove_class_option
- Defined in:
- lib/bundler/vendor/thor/lib/thor/base.rb
#remove_class_option(*names) ⇒ Object
Removes a previous defined class option.
Parameters
- names<Array>
-
Class options to be removed
Examples
remove_class_option :foo
remove_class_option :foo, :bar, :baz
307 308 309 310 311 |
# File 'lib/bundler/vendor/thor/lib/thor/base.rb', line 307 def remove_class_option(*names) names.each do |name| .delete(name) end end |