Class: Automerge::Text

Inherits:
Scalar
  • Object
show all
Defined in:
lib/automerge.rb

Instance Attribute Summary

Attributes inherited from Scalar

#value

Instance Method Summary collapse

Methods inherited from Scalar

#==

Constructor Details

#initialize(value = "") ⇒ Text

Returns a new instance of Text.



31
32
33
# File 'lib/automerge.rb', line 31

def initialize(value = "")
  @value = String(value)
end