Class: NSMutableString

Inherits:
Object show all
Defined in:
lib/cocoa/sugarcube-attributedstring/nsattributedstring.rb

Instance Method Summary collapse

Instance Method Details

#nsattributedstring(attributes = {}) ⇒ Object



21
22
23
# File 'lib/cocoa/sugarcube-attributedstring/nsattributedstring.rb', line 21

def nsattributedstring(attributes={})
  NSMutableAttributedString.alloc.initWithString(self, attributes: attributes)
end