Sha256: 3e7114ae6917a4701d6d1112ef58bb91d42be4a17c47e4cac09401a155354ec2

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

# Author::    TAC (tac@tac42.net)

require_relative 'yasuri_node'

module Yasuri
  module Node
    attr_reader :url, :xpath, :name, :children

    def initialize(xpath, name, children = [], opt = {})
      @xpath, @name, @children = xpath, name, children
    end

    def inject(agent, page, opt = {})
      fail "#{Kernel.__method__} is not implemented."
    end
    def opts
      {}
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yasuri-1.9.11 lib/yasuri/yasuri_node.rb