class Exos::Commands::Command

Attributes

args[R]
options[R]

Public Class Methods

new(args, options) click to toggle source
# File lib/exos/commands.rb, line 11
def initialize(args, options)
  @args = args
  @options = options
end

Private Class Methods

humanize(str) click to toggle source
# File lib/exos/commands.rb, line 26
def self.humanize(str)
  str.gsub("_", " ").gsub(/\b(?<!['’`])[a-z]/) { $&.capitalize }
end

Private Instance Methods

ec2() click to toggle source
# File lib/exos/commands.rb, line 18
def ec2
  @ec2 ||= ::Fog::Compute::AWS.new
end
elb() click to toggle source
# File lib/exos/commands.rb, line 22
def elb
  @elb ||= ::Fog::AWS::ELB.new
end