Sha256: c207acff00f56cc1d6abe0e6381d17143dd84f097fed32315cc5fea782dd9afe

Contents?: true

Size: 280 Bytes

Versions: 1

Compression:

Stored size: 280 Bytes

Contents

module CanTango
  module Generators
    module LicenseBase
      def licenses
        options[:licenses]
      end

      def license_logic
        return '' if licenses.empty?
        ls = licenses.map{|c| ":#{c}"}.join(", ")
        "licenses #{ls}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cantango-0.8.0 lib/generators/cantango/license_base.rb