class TablexiDev::Generators::BaseGenerator
All other TablexiDev
generators should inherit this base generator
Protected Instance Methods
copy_file_and_set_executable(source_file, target_file)
click to toggle source
# File lib/generators/tablexi_dev/base_generator.rb, line 12 def copy_file_and_set_executable(source_file, target_file) copy_file source_file, target_file chmod target_file, 0o755 end