Sha256: c807819f7490bccc80ca3bc544417ee66165ede059965cfa581bf1abea7abb6f

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true
require 'yaml'
<% if automation == 'selenium' -%>
require 'webdrivers'
<% else -%>
require 'appium_lib'
<% end -%>
require_relative 'driver_helper'

module Raider
  module DriverHelper
      attr_reader :driver

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby_raider-0.3.5 lib/generators/templates/helpers/driver_helper.tt
ruby_raider-0.3.4 lib/generators/templates/helpers/driver_helper.tt