Class: RoCommands::Generators::SpecFile

Inherits:
Object
  • Object
show all
Includes:
BaseGenerator
Defined in:
lib/ro_commands/generators/spec_file.rb

Class Method Summary collapse

Methods included from BaseGenerator

included

Class Method Details

.create(file_name) ⇒ Object



16
17
18
19
20
21
# File 'lib/ro_commands/generators/spec_file.rb', line 16

def create(file_name)
  super if defined? super
  @file_name = file_name
  FileUtils.mkpath dir
  template
end