Module: Ec2UltraDNSUpdater::Preconditions
- Included in:
- UltraDNS
- Defined in:
- lib/ec2_ultradns_updater/preconditions.rb
Instance Method Summary collapse
Instance Method Details
#precondition ⇒ Object
18 19 20 |
# File 'lib/ec2_ultradns_updater/preconditions.rb', line 18 def precondition self end |
#str_not_empty(arg, msg = "Argument may not empty") ⇒ Object
22 23 24 |
# File 'lib/ec2_ultradns_updater/preconditions.rb', line 22 def str_not_empty(arg, msg = "Argument may not empty") raise msg if arg == nil || arg == '' end |