Class: Scrapetor::Schema::Field
- Inherits:
-
Struct
- Object
- Struct
- Scrapetor::Schema::Field
- Defined in:
- lib/scrapetor/schema.rb
Instance Attribute Summary collapse
-
#attr ⇒ Object
Returns the value of attribute attr.
-
#attr_str ⇒ Object
Returns the value of attribute attr_str.
-
#clean ⇒ Object
Returns the value of attribute clean.
-
#default ⇒ Object
Returns the value of attribute default.
-
#delimiter ⇒ Object
Returns the value of attribute delimiter.
-
#multi ⇒ Object
Returns the value of attribute multi.
-
#name ⇒ Object
Returns the value of attribute name.
-
#normalize_url ⇒ Object
Returns the value of attribute normalize_url.
-
#required ⇒ Object
Returns the value of attribute required.
-
#selector ⇒ Object
Returns the value of attribute selector.
-
#transform ⇒ Object
Returns the value of attribute transform.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#attr ⇒ Object
Returns the value of attribute attr
5 6 7 |
# File 'lib/scrapetor/schema.rb', line 5 def attr @attr end |
#attr_str ⇒ Object
Returns the value of attribute attr_str
5 6 7 |
# File 'lib/scrapetor/schema.rb', line 5 def attr_str @attr_str end |
#clean ⇒ Object
Returns the value of attribute clean
5 6 7 |
# File 'lib/scrapetor/schema.rb', line 5 def clean @clean end |
#default ⇒ Object
Returns the value of attribute default
5 6 7 |
# File 'lib/scrapetor/schema.rb', line 5 def default @default end |
#delimiter ⇒ Object
Returns the value of attribute delimiter
5 6 7 |
# File 'lib/scrapetor/schema.rb', line 5 def delimiter @delimiter end |
#multi ⇒ Object
Returns the value of attribute multi
5 6 7 |
# File 'lib/scrapetor/schema.rb', line 5 def multi @multi end |
#name ⇒ Object
Returns the value of attribute name
5 6 7 |
# File 'lib/scrapetor/schema.rb', line 5 def name @name end |
#normalize_url ⇒ Object
Returns the value of attribute normalize_url
5 6 7 |
# File 'lib/scrapetor/schema.rb', line 5 def normalize_url @normalize_url end |
#required ⇒ Object
Returns the value of attribute required
5 6 7 |
# File 'lib/scrapetor/schema.rb', line 5 def required @required end |
#selector ⇒ Object
Returns the value of attribute selector
5 6 7 |
# File 'lib/scrapetor/schema.rb', line 5 def selector @selector end |
#transform ⇒ Object
Returns the value of attribute transform
5 6 7 |
# File 'lib/scrapetor/schema.rb', line 5 def transform @transform end |
#type ⇒ Object
Returns the value of attribute type
5 6 7 |
# File 'lib/scrapetor/schema.rb', line 5 def type @type end |