Sha256: 06ffccbe946a05d6bf418622a0932e1366f63868ec699c77bd24ee6929e2b7cb

Contents?: true

Size: 486 Bytes

Versions: 13

Compression:

Stored size: 486 Bytes

Contents

require 'taza/page'
require 'taza/site'
require 'taza/browser'
require 'taza/settings'
require 'taza/flow'
require 'taza/entity'
require 'taza/fixtures'
require 'extensions/object'
require 'extensions/string'
require 'extensions/hash'
require 'extensions/array'

module ForwardInitialization
  module ClassMethods
    def new(*args,&block)
      const_get("#{name.split("::").last}").new(*args,&block)
    end
  end

  def self.included(klass)
    klass.extend(ClassMethods)
  end
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
makevoid-taza-0.8.6 lib/taza.rb
scudco-taza-0.8.5 lib/taza.rb
scudco-taza-0.8.6 lib/taza.rb
scudco-taza-0.8.7 lib/taza.rb
taza-0.9.2.1 lib/taza.rb.backup
taza-0.9.2.0 lib/taza.rb.backup
taza-0.9.1.2 lib/taza.rb.backup
taza-0.9.1.1 lib/taza.rb.backup
taza-0.9.1 lib/taza.rb.backup
taza-0.9.0 lib/taza.rb.backup
taza-0.8.5 lib/taza.rb
taza-0.8.7 lib/taza.rb
taza-0.8.6 lib/taza.rb