Class: CodeModels::Html::TextBlock

Inherits:
Object
  • Object
show all
Defined in:
lib/codemodels/html/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#sourceObject

Returns the value of attribute source.



10
11
12
# File 'lib/codemodels/html/parser.rb', line 10

def source
  @source
end

#valueObject

Returns the value of attribute value.



11
12
13
# File 'lib/codemodels/html/parser.rb', line 11

def value
  @value
end

Instance Method Details

#begin_point=(data) ⇒ Object



13
14
15
16
# File 'lib/codemodels/html/parser.rb', line 13

def begin_point=(data)
	@source = SourceInfo.new unless @source
	@source.begin_point= data
end

#end_point=(data) ⇒ Object



18
19
20
21
# File 'lib/codemodels/html/parser.rb', line 18

def end_point=(data)
	@source = SourceInfo.new unless @source
	@source.end_point= data
end