Class: Gemaker::Cmd::AddRubyVersion
- Defined in:
- lib/gemaker/commands/add_ruby_version.rb
Instance Method Summary collapse
Methods inherited from Base
#in_engine_context, #in_normal_context
Methods included from Util
#copy_file, #copy_template, #create_dir, #error, #execute, #execute_in_gem, #gem_root_path, #get_destination_path, #get_template_path, #info, #parse_erb, #remove_in_gem, #utils_path
Instance Method Details
#perform ⇒ Object
4 5 6 7 |
# File 'lib/gemaker/commands/add_ruby_version.rb', line 4 def perform copy_template("ruby-version", ".ruby-version", config: @config) info "Add .ruby-version file" end |