Sha256: 99a82750bf1ad5b3e19b1214574ea3fc01885c89a5c0548a6e4cb306bd618f03

Contents?: true

Size: 503 Bytes

Versions: 10

Compression:

Stored size: 503 Bytes

Contents

# :reek:FeatureEnvy { enabled: false }
# :reek:UtilityFunction { enabled: false }

module SettingsHelper
  def create_settings(options)
    automation = options[:automation]
    examples = options[:examples]
    visual = options[:visual]
    framework = options[:framework]
    {
      automation: automation,
      examples: examples,
      framework: framework,
      name: "#{framework}_#{automation}#{'_visual' if visual}#{'_without_examples' unless examples}",
      visual: visual
    }
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby_raider-0.7.3 spec/support/settings_helper.rb
ruby_raider-0.7.2 spec/support/settings_helper.rb
ruby_raider-0.7.1 spec/support/settings_helper.rb
ruby_raider-0.7.0 spec/support/settings_helper.rb
ruby_raider-0.6.9 spec/support/settings_helper.rb
ruby_raider-0.6.8 spec/support/settings_helper.rb
ruby_raider-0.6.7 spec/support/settings_helper.rb
ruby_raider-0.6.6 spec/support/settings_helper.rb
ruby_raider-0.6.5 spec/support/settings_helper.rb
ruby_raider-0.6.4 spec/support/settings_helper.rb