Class: RText::Generic
- Inherits:
-
RGen::MetamodelBuilder::MMGeneric
- Object
- RGen::MetamodelBuilder::MMGeneric
- RText::Generic
- Defined in:
- lib/rtext/generic.rb
Instance Attribute Summary collapse
-
#string ⇒ Object
readonly
Returns the value of attribute string.
Instance Method Summary collapse
-
#initialize(string) ⇒ Generic
constructor
A new instance of Generic.
Constructor Details
#initialize(string) ⇒ Generic
Returns a new instance of Generic.
7 8 9 |
# File 'lib/rtext/generic.rb', line 7 def initialize(string) @string = string end |
Instance Attribute Details
#string ⇒ Object (readonly)
Returns the value of attribute string.
6 7 8 |
# File 'lib/rtext/generic.rb', line 6 def string @string end |