org.jclouds.scriptbuilder.statements.ruby
Class InstallRubyGems

java.lang.Object
  extended by org.jclouds.scriptbuilder.statements.ruby.InstallRubyGems
All Implemented Interfaces:
Statement

public class InstallRubyGems
extends Object
implements Statement

Installs RubyGems onto a host.


Nested Class Summary
static class InstallRubyGems.Builder
           
 
Field Summary
static String DEFAULT_RUBYGEMS_VERSION
           
 
Constructor Summary
protected InstallRubyGems(com.google.common.base.Optional<String> version, boolean updateSystem, com.google.common.base.Optional<String> updateSystemVersion, boolean updateExistingGems)
           
 
Method Summary
static InstallRubyGems.Builder builder()
           
 Iterable<String> functionDependencies(OsFamily family)
           
 String render(OsFamily family)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_RUBYGEMS_VERSION

public static final String DEFAULT_RUBYGEMS_VERSION
See Also:
Constant Field Values
Constructor Detail

InstallRubyGems

protected InstallRubyGems(com.google.common.base.Optional<String> version,
                          boolean updateSystem,
                          com.google.common.base.Optional<String> updateSystemVersion,
                          boolean updateExistingGems)
Method Detail

builder

public static InstallRubyGems.Builder builder()

render

public String render(OsFamily family)
Specified by:
render in interface Statement

functionDependencies

public Iterable<String> functionDependencies(OsFamily family)
Specified by:
functionDependencies in interface Statement


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.