Class: Deba::Span

Inherits:
Object
  • Object
show all
Defined in:
lib/deba/span.rb

Instance Method Summary collapse

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_sObject



6
7
8
# File 'lib/deba/span.rb', line 6

def to_s
  @text
end