Class: Jade::Bytes::Bytes
- Inherits:
-
Data
- Object
- Data
- Jade::Bytes::Bytes
- Defined in:
- lib/jade/runtime.rb
Instance Attribute Summary collapse
-
#bin ⇒ Object
readonly
Returns the value of attribute bin.
Instance Method Summary collapse
Instance Attribute Details
#bin ⇒ Object (readonly)
Returns the value of attribute bin
46 47 48 |
# File 'lib/jade/runtime.rb', line 46 def bin @bin end |
Instance Method Details
#+(other) ⇒ Object
48 |
# File 'lib/jade/runtime.rb', line 48 def +(other) = Bytes.new(bin + other.bin) |
#to_s ⇒ Object
47 |
# File 'lib/jade/runtime.rb', line 47 def to_s = "Bytes(#{bin.bytesize})" |