Class: RubyFeatures::Container

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-features/container.rb

Instance Method Summary collapse

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_allObject



8
9
10
# File 'lib/ruby-features/container.rb', line 8

def apply_all
  RubyFeatures.apply(*@feature_names)
end