Class: Mingle::MingleBuffer

Inherits:
MingleValue
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/mingle.rb

Defined Under Namespace

Classes: EncodingError

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bufObject (readonly)

Returns the value of attribute buf.



244
245
246
# File 'lib/mingle.rb', line 244

def buf
  @buf
end

Instance Method Details

#==(other) ⇒ Object Also known as: eql?



281
282
283
# File 'lib/mingle.rb', line 281

def ==( other )
    other.is_a?( MingleBuffer ) && other.buf == @buf
end