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
94 95 96 |
# File 'lib/origami/object.rb', line 94 def is_binary_data? ( self.count( "\x00" ) > 0 ) unless empty? end |
#to_o ⇒ Object
90 91 92 |
# File 'lib/origami/object.rb', line 90 def to_o Origami::ByteString.new(self) end |