Method: Awspec::Generator::Template.generate_stub

Defined in:
lib/awspec/generator/template.rb

.generate_stubObject



44
45
46
47
48
49
50
51
52
# File 'lib/awspec/generator/template.rb', line 44

def self.generate_stub
  path = 'lib/awspec/stub/' + @type.underscore + '.rb'
  content = <<-"EOF"
# Aws.config[:ec2] = {
#   stub_responses: true
# }
EOF
  self.file_check_and_puts(path, content)
end