Class: Scrapetor::Selector::Atom

Inherits:
Struct
  • Object
show all
Defined in:
lib/scrapetor/selector.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attrsObject

Returns the value of attribute attrs

Returns:

  • (Object)

    the current value of attrs



14
15
16
# File 'lib/scrapetor/selector.rb', line 14

def attrs
  @attrs
end

#classesObject

Returns the value of attribute classes

Returns:

  • (Object)

    the current value of classes



14
15
16
# File 'lib/scrapetor/selector.rb', line 14

def classes
  @classes
end

#combinatorObject

Returns the value of attribute combinator

Returns:

  • (Object)

    the current value of combinator



14
15
16
# File 'lib/scrapetor/selector.rb', line 14

def combinator
  @combinator
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



14
15
16
# File 'lib/scrapetor/selector.rb', line 14

def id
  @id
end

#pseudosObject

Returns the value of attribute pseudos

Returns:

  • (Object)

    the current value of pseudos



14
15
16
# File 'lib/scrapetor/selector.rb', line 14

def pseudos
  @pseudos
end

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



14
15
16
# File 'lib/scrapetor/selector.rb', line 14

def tag
  @tag
end