Class: Coelacanth::Robots::RULE_STRUCT

Inherits:
Struct
  • Object
show all
Defined in:
lib/coelacanth/robots.rb

Instance Attribute Summary collapse

Instance Attribute Details

#lengthObject

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



8
9
10
# File 'lib/coelacanth/robots.rb', line 8

def length
  @length
end

#patternObject

Returns the value of attribute pattern

Returns:

  • (Object)

    the current value of pattern



8
9
10
# File 'lib/coelacanth/robots.rb', line 8

def pattern
  @pattern
end

#regexObject

Returns the value of attribute regex

Returns:

  • (Object)

    the current value of regex



8
9
10
# File 'lib/coelacanth/robots.rb', line 8

def regex
  @regex
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



8
9
10
# File 'lib/coelacanth/robots.rb', line 8

def type
  @type
end