Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/rtiss_libxml_to_hash.rb
Instance Method Summary collapse
Instance Method Details
#iterable ⇒ Object
135 136 137 |
# File 'lib/rtiss_libxml_to_hash.rb', line 135 def iterable [self] end |
#to_b ⇒ Object
139 140 141 |
# File 'lib/rtiss_libxml_to_hash.rb', line 139 def to_b self.upcase == 'TRUE' or self == '1' end |
#to_libxmlnode ⇒ Object
143 144 145 |
# File 'lib/rtiss_libxml_to_hash.rb', line 143 def to_libxmlnode LibXmlNode.create({}, {}, self) end |