Sha256: c50a460df606aba44d411752d1e641e83445d2bd0905ed569ce94a6aa9908905
Contents?: true
Size: 484 Bytes
Versions: 10
Compression:
Stored size: 484 Bytes
Contents
# frozen_string_literal: true # require "cypress_rails/version" require "cypress_rails/railtie" require "cypress_rails/configuration" module CypressRails class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield(configuration) end def scripts(name) path = Pathname.new(configuration.scripts_path).join("#{name}.rb") instance_eval File.read( path ) end module_function :scripts end
Version data entries
10 entries across 10 versions & 1 rubygems