Sha256: 14331671ae37b8d241b3ef5b90e4e4b5d29a794e0b8da57eca155fa72b300c9b

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

module Empiric
  module Interface
    module Page
      def resize(width, height)
        browser.window.resize_to(width, height)
      end

      def position(x, y)
        browser.window.move_to(x, y)
      end

      alias resize_to resize
      alias move_to   position
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
empiric-0.1.0 lib/empiric/interface.rb