Method: Srgs::Example#initialize
- Defined in:
- lib/srgs/elements/example.rb
#initialize(text) ⇒ Example
Returns a new instance of Example.
6 7 8 |
# File 'lib/srgs/elements/example.rb', line 6 def initialize(text) @text = text end |
Returns a new instance of Example.
6 7 8 |
# File 'lib/srgs/elements/example.rb', line 6 def initialize(text) @text = text end |