Sha256: 056bf52f9265834b5db20f87335d931703c2f29508b83d718257c539c3049cd2
Contents?: true
Size: 484 Bytes
Versions: 15
Compression:
Stored size: 484 Bytes
Contents
# frozen_string_literal: true module AnnotateRb module Commands class AnnotateModels def call(options) puts "Annotating models" if options[:debug] puts "Running with debug mode, options:" pp options.to_h end # Eager load Models when we're annotating models AnnotateRb::EagerLoader.call(options) AnnotateRb::ModelAnnotator::Annotator.send(options[:target_action], options) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems