instance method inherited_with_options

Ruby on Rails 2.3.18

Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

inherited_with_options(sub)

No documentation comment.

Parameters

sub req
Source
# File railties/lib/rails_generator/options.rb, line 17
        def inherited_with_options(sub)
          inherited_without_options(sub) if respond_to?(:inherited_without_options)
          sub.extend(Rails::Generator::Options::ClassMethods)
        end

Defined in railties/lib/rails_generator/options.rb line 17 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Generator::Options::ClassMethods

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close