Sha256: 0e3a6f572e0736291faf6924f7c74590c2b68c7114c49d45d0e756e303db0c66
Contents?: true
Size: 396 Bytes
Versions: 22
Compression:
Stored size: 396 Bytes
Contents
require 'rails/generators/base' module VisualConditionBuilder class DictionaryGenerator < Rails::Generators::NamedBase source_root File.expand_path("../../templates", __FILE__) def generate_dictionary @dictionary_name = file_name.classify template "generic_dictionary.erb", File.join('app/condition_dictionaries', "#{file_name.underscore}_dictionary.rb") end end end
Version data entries
22 entries across 22 versions & 1 rubygems