Sha256: d4e88df2cac501f4e4842aae27b5d96863dd64d5b20d1a9a186bced6e75c78e9
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
require "rubyXL" require "rubyXL/convenience_methods/cell" require "rubyXL/convenience_methods/color" require "rubyXL/convenience_methods/font" require "rubyXL/convenience_methods/workbook" require "rubyXL/convenience_methods/worksheet" require_relative "tools/crud_operations" require_relative "tools/crud_config" require_relative "tools/crud_notifications" require_relative "tools/railtie" require_relative "tools/crud_data" module Rails module Crud module Tools def self.setup() unless File.exist?(".crudconfig") puts "The .crudconfig file is required. Please run `bundle exec crud init`." return end unless File.exist?(CrudConfig.instance.crud_file_path) puts "The CRUD file is required. Please run `bundle exec crud gen_crud`." return end CrudData.instance.process_id = "rails-crud-tools-#{Time.now.strftime("%Y%m%d%H%M%S")}" CrudData.instance.load_crud_data setup_notifications end setup end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails-crud-tools-0.4.2 | lib/rails/crud/tools.rb |