Sha256: 2579a5a5efc9cd55f94af4f038c8f1916207fccb186a9ef5cb2572c7498d2de6
Contents?: true
Size: 685 Bytes
Versions: 141
Compression:
Stored size: 685 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module Avm module Rspec module Setup module SourceGenerator DEFAULT_TARGET_BASENAME = 'generated_app' # @return [Avm::Sources::Base] def avm_source(stereotype_name, options = {}) options = options.dup target_basename ||= options.delete(:target_basename) || DEFAULT_TARGET_BASENAME target_path ||= options.delete(:target_path) || temp_dir.join(target_basename) ::Avm::Registry.source_generators.detect(stereotype_name, target_path, options).perform ::Avm::Registry.sources.detect(target_path) end end end end end
Version data entries
141 entries across 141 versions & 2 rubygems