Class: ODDB::HtmlLinkHandler

Inherits:
HtmlAttributesHandler show all
Defined in:
src/util/html_parser.rb,
test/test_util/html_parser.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from HtmlAttributesHandler

#attribute, #initialize

Constructor Details

This class inherits a constructor from ODDB::HtmlAttributesHandler

Instance Attribute Details

- (Object) attributes

Returns the value of attribute attributes



433
434
435
# File 'src/util/html_parser.rb', line 433

def attributes
  @attributes
end

- (Object) value (readonly)

Returns the value of attribute value



433
434
435
# File 'src/util/html_parser.rb', line 433

def value
  @value
end

Instance Method Details

- (Object) send_adata(string)



434
435
436
# File 'src/util/html_parser.rb', line 434

def send_adata(string)
  @value = string.strip
end

- (Object) to_s



437
438
439
# File 'src/util/html_parser.rb', line 437

def to_s
  @value.to_s
end