Sha256: 8d7f733f0ab42f339b00a7524fa76a12b33954c6385cb39672b103a2a7c7d297
Contents?: true
Size: 837 Bytes
Versions: 2
Compression:
Stored size: 837 Bytes
Contents
module RocketApi module Commands module GemsDir # ... # @param [String] name def init_gems_version!(name) dir_name = "lib/#{name}" create_dir(dir_name) file_name = "#{dir_name}/version.rb" create_single_file( file_name, plain_version_text(class_name_camel(name)) ) end # ... # @param [String] name def init_gems_main_file!(name) file_name = "lib/#{name}.rb" text = "class #{class_name_camel(name)}; end" create_single_file(file_name, text) end # ... # @param [String] name def init_gemspec!(name) file_name = "#{name}.gemspec" create_single_file( file_name, plain_gemspec_text(name, class_name_camel(name)) ) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rocket_api-0.0.1.3 | lib/rocket_api/commands/gems_dir.rb |
rocket_api-0.0.1.2 | lib/rocket_api/commands/gems_dir.rb |