Sha256: a9518c0f7cff1f219303587c337e2eeb8b5c28e21617315860ef75f8c61df917

Contents?: true

Size: 578 Bytes

Versions: 3

Compression:

Stored size: 578 Bytes

Contents

require 'active_support/all'
require 'rspec'
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'
require 'formatters/failing_examples_formatter'

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

3 entries across 3 versions & 1 rubygems

Version Path
taza-0.9.1.1 lib/taza.rb
taza-0.9.1 lib/taza.rb
taza-0.9.0 lib/taza.rb