class SimpleFeaturesGenerator
Public Instance Methods
create_features_config_file()
click to toggle source
# File lib/generators/simple_features_generator.rb, line 9 def create_features_config_file @features = options[:features] template "config/simple_features.yml", "config/simple_features.yml" end
Private Instance Methods
features()
click to toggle source
# File lib/generators/simple_features_generator.rb, line 17 def features if options['features'] options['features'] else [:feature_one, :feature_two, :feature_three] end end