Sha256: ef7461da3868a8ceb9c4d7f1b8711fd2957217fc45f9fa8a7b2e7f24afac773e

Contents?: true

Size: 266 Bytes

Versions: 4

Compression:

Stored size: 266 Bytes

Contents

class HumanAttributeNameGenerator < Rails::Generators::NamedBase
  source_root File.expand_path("../templates", __FILE__)
 
  def copy_initializer_file
      copy_file "model_instance_human_attribute_name.rb", "config/initializers/human_attribute_name.rb"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
inline_forms-5.0.15 lib/generators/human_attribute_name_generator.rb
inline_forms-5.0.6 lib/generators/human_attribute_name_generator.rb
inline_forms-5.0.4 lib/generators/human_attribute_name_generator.rb
inline_forms-5.0.0 lib/generators/human_attribute_name_generator.rb