Sha256: e4823e45495286ef1048d92331d38db4111da8f669db6642145e862b0c972d65
Contents?: true
Size: 375 Bytes
Versions: 2
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true require "rails/generators/base" class AnycableGenerator < Rails::Generators::Base # :nodoc: source_root File.expand_path('../templates', __FILE__) def create_executable_file template "script", "bin/anycable" chmod "bin/anycable", 0o755 end def add_anycable_config template 'anycable.yml', 'config/anycable.yml' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
anycable-rails-0.5.3 | lib/generators/anycable/anycable_generator.rb |
anycable-rails-0.5.2 | lib/generators/anycable/anycable_generator.rb |