instance method inherited_with_options

Ruby on Rails 2.2.3

Since v2.2.3 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.

↑↓ navigate · open · esc close