Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/origami/object.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#is_binary_data? ⇒ Boolean
90 91 92 |
# File 'lib/origami/object.rb', line 90 def is_binary_data? ( self.count( "\x00" ) > 0 ) unless empty? end |
#to_o ⇒ Object
86 87 88 |
# File 'lib/origami/object.rb', line 86 def to_o Origami::ByteString.new(self) end |