Sha256: 4997b5f31845288dc14360f9f3d3c36fff9bf604f3682d692f5021e2dd7850df

Contents?: true

Size: 373 Bytes

Versions: 3

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

<% if automation == 'selenium' -%>
require 'webdrivers'
<% else -%>
require 'appium_lib'
<% end -%>
require_relative 'driver_helper'

module Raider
  module DriverHelper
    class << self
      attr_reader :driver

      <%= ERB.new(File.read(File.expand_path('./partials/new_driver.tt', __dir__))).result(binding).strip! %>
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_raider-0.2.5 lib/generators/templates/helpers/driver_helper.tt
ruby_raider-0.2.4 lib/generators/templates/helpers/driver_helper.tt
ruby_raider-0.2.3 lib/generators/templates/helpers/driver_helper.tt