Class: Htmless::Data::Tag

Inherits:
Struct
  • Object
show all
Defined in:
lib/htmless/data.rb

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) attributes

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



7
8
9
# File 'lib/htmless/data.rb', line 7

def attributes
  @attributes
end

- (Object) name

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/htmless/data.rb', line 7

def name
  @name
end