Class: Hermeneutics::PlainText
- Inherits:
-
Object
- Object
- Hermeneutics::PlainText
- Defined in:
- lib/hermeneutics/types.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Class Method Summary collapse
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(value) ⇒ PlainText
constructor
A new instance of PlainText.
- #to_s ⇒ Object (also: #quote)
Constructor Details
#initialize(value) ⇒ PlainText
Returns a new instance of PlainText.
28 29 30 |
# File 'lib/hermeneutics/types.rb', line 28 def initialize value self.value = value end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
27 28 29 |
# File 'lib/hermeneutics/types.rb', line 27 def value @value end |