Class: Deba::Span
- Inherits:
-
Object
- Object
- Deba::Span
- Defined in:
- lib/deba/span.rb
Instance Method Summary collapse
-
#initialize(text) ⇒ Span
constructor
A new instance of Span.
- #to_s ⇒ Object
Constructor Details
#initialize(text) ⇒ Span
Returns a new instance of Span.
2 3 4 |
# File 'lib/deba/span.rb', line 2 def initialize(text) @text = text end |
Instance Method Details
#to_s ⇒ Object
6 7 8 |
# File 'lib/deba/span.rb', line 6 def to_s @text end |