Class: AnycableGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/anycable/anycable_generator.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#create_executable_fileObject



7
8
9
10
# File 'lib/generators/anycable/anycable_generator.rb', line 7

def create_executable_file
  template "script", "bin/anycable"
  chmod "bin/anycable", 0o755
end