Class: CodeModels::Html::TextBlock
- Inherits:
-
Object
- Object
- CodeModels::Html::TextBlock
- Defined in:
- lib/codemodels/html/parser.rb
Instance Attribute Summary collapse
-
#source ⇒ Object
Returns the value of attribute source.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#source ⇒ Object
Returns the value of attribute source.
10 11 12 |
# File 'lib/codemodels/html/parser.rb', line 10 def source @source end |
#value ⇒ Object
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 |