Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/xommelier/core_ext/string.rb
Overview
© Alexander Semyonov, 2011—2013, MIT License # Author: Alexander Semyonov [email protected] #
Direct Known Subclasses
Uri, Xommelier::DS::CryptoBinary, Xommelier::RSS::EmailAddress
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_xommelier(value) ⇒ Object
9 10 11 12 |
# File 'lib/xommelier/core_ext/string.rb', line 9 def self.from_xommelier(value) return nil if value.is_a?(NilClass) value.to_s end |
Instance Method Details
#to_xommelier ⇒ Object
14 15 16 |
# File 'lib/xommelier/core_ext/string.rb', line 14 def to_xommelier self end |