Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/softlayer/object_mask_helpers.rb
Instance Method Summary collapse
Instance Method Details
#to_sl_object_mask(base = "") ⇒ Object
44 45 46 47 |
# File 'lib/softlayer/object_mask_helpers.rb', line 44 def to_sl_object_mask(base = "") return base if self.empty? base.empty? ? self : "#{base}.#{self}" end |