Class: RText::Generic

Inherits:
RGen::MetamodelBuilder::MMGeneric
  • Object
show all
Defined in:
lib/rtext/generic.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#stringObject (readonly)

Returns the value of attribute string.



6
7
8
# File 'lib/rtext/generic.rb', line 6

def string
  @string
end