Sha256: 0381d1530e51af65ca3896a229ccd8a87a444e66e004e72a1ab4e55df83f2cf6
Contents?: true
Size: 530 Bytes
Versions: 58
Compression:
Stored size: 530 Bytes
Contents
require 'rails/generators/named_base' module Rspec module Generators class Base < Rails::Generators::NamedBase #:nodoc: def self.source_root @_rspec_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'rspec', generator_name, 'templates')) end end end end module Rails module Generators class GeneratedAttribute #:nodoc: def input_type @input_type ||= if type == :text "textarea" else "input" end end end end end
Version data entries
58 entries across 58 versions & 2 rubygems