Module: D4C::PrependClassOption
- Includes:
- PrependedOptions
- Defined in:
- lib/d4c/prepend_class_option.rb
Instance Method Summary collapse
Methods included from PrependedOptions
Instance Method Details
#initialize(args = [], local_options = {}, config = {}) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/d4c/prepend_class_option.rb', line 9 def initialize(args = [], = {}, config = {}) .each do |option| self.class.class_option option.name, type: :boolean, default: false, desc: option.desc end super end |