Class: Zena::FoxyLinksParser
- Inherits:
-
FoxyParser
- Object
- FoxyParser
- Zena::FoxyLinksParser
- Defined in:
- lib/zena/foxy_parser.rb
Instance Attribute Summary collapse
-
#nodes ⇒ Object
readonly
Returns the value of attribute nodes.
Attributes inherited from FoxyParser
#column_names, #defaults, #name, #site, #table
Instance Method Summary collapse
-
#initialize(table_name, opts = {}) ⇒ FoxyLinksParser
constructor
A new instance of FoxyLinksParser.
Methods inherited from FoxyParser
#all_elements, dump_fixtures, id, multi_site_id, multi_site_tables, new, o_new, parses, path_for_table, #path_for_table, prelude, records_to_yaml, #run, #sites
Constructor Details
#initialize(table_name, opts = {}) ⇒ FoxyLinksParser
Returns a new instance of FoxyLinksParser.
753 754 755 756 |
# File 'lib/zena/foxy_parser.rb', line 753 def initialize(table_name, opts = {}) super @nodes = opts[:nodes].all_elements end |
Instance Attribute Details
#nodes ⇒ Object (readonly)
Returns the value of attribute nodes.
751 752 753 |
# File 'lib/zena/foxy_parser.rb', line 751 def nodes @nodes end |