Class: Htmless::Data::Attribute

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

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) name

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

- (Object) type

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



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

def type
  @type
end