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
47 48 49 50 |
# File 'lib/softlayer/object_mask_helpers.rb', line 47 def to_sl_object_mask(base = "") return base if self.empty? base.empty? ? self : "#{base}.#{self}" end |