Class: RubyFeatures::Container
- Inherits:
-
Object
- Object
- RubyFeatures::Container
- Defined in:
- lib/ruby-features/container.rb
Instance Method Summary collapse
- #apply_all ⇒ Object
-
#initialize(feature_names) ⇒ Container
constructor
A new instance of Container.
Constructor Details
#initialize(feature_names) ⇒ Container
Returns a new instance of Container.
4 5 6 |
# File 'lib/ruby-features/container.rb', line 4 def initialize(feature_names) @feature_names = feature_names end |
Instance Method Details
#apply_all ⇒ Object
8 9 10 |
# File 'lib/ruby-features/container.rb', line 8 def apply_all RubyFeatures.apply(*@feature_names) end |