Sha256: 728bcf1f48f440dd5d03381cbc3d00314c12c1e273ad71cf00d42667991c7926
Contents?: true
Size: 305 Bytes
Versions: 24
Compression:
Stored size: 305 Bytes
Contents
module Rspec module Generators class EnumGenerator < ::Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def create_enum_spec template 'enum_spec.rb', File.join('spec/enums', class_path, "#{file_name}_enum_spec.rb") end end end end
Version data entries
24 entries across 24 versions & 1 rubygems