Sha256: 9542d1cdc4a6030fcc645082344b7b5381b701e4ae110da645570a521fa976c1

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

require File.join(File.dirname(__FILE__), "./html_elements/element_helper")
require "rubygems"
require "rspec"

module Cello
  module Structure
    class Page
      extend Cello::Structure::ElementHelper
      attr_reader :engine

      def initialize(engine)
        @engine = engine
      end

      def visit
        @engine.goto @@url
      end

      def self.url(url)
        @@url = url
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cello-0.0.19 lib/cello/structure/page.rb