Sha256: 7d272d36693e3c68695f94c9c5d4ff6c462746b3bd4b7902a625cc578963cfac

Contents?: true

Size: 405 Bytes

Versions: 14

Compression:

Stored size: 405 Bytes

Contents

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

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ruby_raider-0.8.9 spec/support/settings_helper.rb
ruby_raider-0.8.8 spec/support/settings_helper.rb
ruby_raider-0.8.6 spec/support/settings_helper.rb
ruby_raider-0.8.5 spec/support/settings_helper.rb
ruby_raider-0.8.3 spec/support/settings_helper.rb
ruby_raider-0.8.2 spec/support/settings_helper.rb
ruby_raider-0.8.1 spec/support/settings_helper.rb
ruby_raider-0.8.0 spec/support/settings_helper.rb
ruby_raider-0.7.9 spec/support/settings_helper.rb
ruby_raider-0.7.8 spec/support/settings_helper.rb
ruby_raider-0.7.7 spec/support/settings_helper.rb
ruby_raider-0.7.6 spec/support/settings_helper.rb
ruby_raider-0.7.5 spec/support/settings_helper.rb
ruby_raider-0.7.4 spec/support/settings_helper.rb