Sha256: fde34675e52ed10d9ff115b0857b338f4b32faee1fa42ab641c254046f27c381

Contents?: true

Size: 195 Bytes

Versions: 62

Compression:

Stored size: 195 Bytes

Contents

module Rails
  class Scm
    private
      def self.hash_to_parameters(hash)
        hash.collect { |key, value| "--#{key} #{(value.kind_of?(String) ? value : "")}"}.join(" ")
      end
  end
end

Version data entries

62 entries across 62 versions & 11 rubygems

Version Path
rails-2.3.18 lib/rails_generator/generators/applications/app/scm/scm.rb
rails_csi-2.3.5.p8 lib/rails_generator/generators/applications/app/scm/scm.rb
rails-2.3.17 lib/rails_generator/generators/applications/app/scm/scm.rb
rails_csi-2.3.5.p7 lib/rails_generator/generators/applications/app/scm/scm.rb
rails_csi-2.3.5.p6 lib/rails_generator/generators/applications/app/scm/scm.rb
rails-2.3.16 lib/rails_generator/generators/applications/app/scm/scm.rb
rails-2.3.15 lib/rails_generator/generators/applications/app/scm/scm.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/rails-2.3.14/lib/rails_generator/generators/applications/app/scm/scm.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/rails-2.3.12/lib/rails_generator/generators/applications/app/scm/scm.rb
rails-2.3.14 lib/rails_generator/generators/applications/app/scm/scm.rb
kajam-1.0.3.rc2 vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb
rails-2.3.12 lib/rails_generator/generators/applications/app/scm/scm.rb
radiant-1.0.0.rc2 vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb
radiant-1.0.0.rc1 vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb
webroar-0.5.0 src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb
rails-2.3.11 lib/rails_generator/generators/applications/app/scm/scm.rb
radiantcms-couchrest_model-0.2.4 vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb
radiantcms-couchrest_model-0.2.2 vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb
radiantcms-couchrest_model-0.2.1 vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb
radiantcms-couchrest_model-0.2 vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb