Top Level Namespace

Defined Under Namespace

Modules: IRB, Trollop Classes: BadSecurityRule, Command, CommandLoader, CommandOptionsParser, Configure, Connection, Console, Create, Describe, Description, Destroy, ElbAdd, ElbDescribe, ElbDisableZones, ElbEnableZones, ElbRemove, Instance, InstanceCollection, InstanceMatcher, Loader, Maws, MawsLogger, NullLogger, Object, ProfileLoader, RightAWSLogger, SetPrefix, SetSecurityGroups, Specification, Start, Status, Stop, Teardown, VolumesCleanup, VolumesCommand, VolumesStatus, Wait

Instance Method Summary collapse

Instance Method Details

#dateObject

lib/trollop.rb – trollop command-line processing library

Author

William Morgan (mailto: [email protected])

Copyright

Copyright 2007 William Morgan

License

the same terms as ruby itself



6
# File 'lib/maws/trollop.rb', line 6

require 'date'

#error(str) ⇒ Object



60
61
62
# File 'lib/maws/logger.rb', line 60

def error str
  $logger.error str
end

#info(str) ⇒ Object



56
57
58
# File 'lib/maws/logger.rb', line 56

def info str
  $logger.info str
end

#mash(x = {}) ⇒ Object



7
8
9
# File 'lib/maws/mash.rb', line 7

def mash(x = {})
  Hashie::Mash.new x
end

#warn(str) ⇒ Object



64
65
66
# File 'lib/maws/logger.rb', line 64

def warn str
  $logger.warn str
end