Class: Gemsmith::Generators::Ruby

Inherits:
Base
  • Object
show all
Defined in:
lib/gemsmith/generators/ruby.rb

Overview

Generates Ruby support.

Instance Method Summary collapse

Methods inherited from Base

#initialize, run

Constructor Details

This class inherits a constructor from Gemsmith::Generators::Base

Instance Method Details

#runObject



7
8
9
# File 'lib/gemsmith/generators/ruby.rb', line 7

def run
  cli.template "%gem_name%/.ruby-version.tt", configuration
end