Class: Gemsmith::Skeletons::RspecSkeleton

Inherits:
BaseSkeleton show all
Defined in:
lib/gemsmith/skeletons/rspec_skeleton.rb

Instance Method Summary collapse

Methods inherited from BaseSkeleton

#create, #initialize, #method_missing, #respond_to?, run

Constructor Details

This class inherits a constructor from Gemsmith::Skeletons::BaseSkeleton

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Gemsmith::Skeletons::BaseSkeleton

Instance Method Details

#create_filesObject



4
5
6
7
8
9
10
11
# File 'lib/gemsmith/skeletons/rspec_skeleton.rb', line 4

def create_files
  template "#{rspec_root}/spec_helper.rb.tt", template_options
  template "#{rspec_root}/%gem_name%_spec.rb.tt", template_options
  template "#{rspec_root}/support/kit/default_config.rb.tt", template_options
  template "#{rspec_root}/support/kit/stderr.rb.tt", template_options
  template "#{rspec_root}/support/kit/stdout.rb.tt", template_options
  template "#{rspec_root}/support/kit/temp_dir.rb.tt", template_options
end