Class: Itonoko::CSS::Parser::SimpleSelector

Inherits:
Struct
  • Object
show all
Defined in:
lib/itonoko/css/parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attrsObject

Returns the value of attribute attrs

Returns:

  • (Object)

    the current value of attrs



18
19
20
# File 'lib/itonoko/css/parser.rb', line 18

def attrs
  @attrs
end

#classesObject

Returns the value of attribute classes

Returns:

  • (Object)

    the current value of classes



18
19
20
# File 'lib/itonoko/css/parser.rb', line 18

def classes
  @classes
end

#idsObject

Returns the value of attribute ids

Returns:

  • (Object)

    the current value of ids



18
19
20
# File 'lib/itonoko/css/parser.rb', line 18

def ids
  @ids
end

#pseudosObject

Returns the value of attribute pseudos

Returns:

  • (Object)

    the current value of pseudos



18
19
20
# File 'lib/itonoko/css/parser.rb', line 18

def pseudos
  @pseudos
end

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



18
19
20
# File 'lib/itonoko/css/parser.rb', line 18

def tag
  @tag
end