Sha256: 269b927f51ecad98b03e647cc77d7e62d640578fa1fd4d8dd41da2e8a3a4ada6

Contents?: true

Size: 131 Bytes

Versions: 68

Compression:

Stored size: 131 Bytes

Contents

class Object # :nodoc:
  def self.path2class(klassname)
    klassname.split('::').inject(Object) { |k,n| k.const_get n }
  end
end

Version data entries

68 entries across 68 versions & 12 rubygems

Version Path
radiant-0.6.7 vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb
radiant-0.6.8 vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb
radiant-0.6.9 vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb
rspec-rails-1.1.11 lib/spec/rails/extensions/object.rb
rspec-rails-1.1.10 lib/spec/rails/extensions/object.rb
rspec-rails-1.1.5 lib/spec/rails/extensions/object.rb
rspec-rails-1.1.6 lib/spec/rails/extensions/object.rb
rspec-rails-1.1.9 lib/spec/rails/extensions/object.rb
rspec-rails-1.1.8 lib/spec/rails/extensions/object.rb
rspec-rails-1.1.7 lib/spec/rails/extensions/object.rb
spree-0.0.9 vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb
spree-0.0.8 starter-app/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb
spree-0.2.0 vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb
spree-0.4.1 vendor/plugins/rspec-rails/lib/spec/rails/extensions/object.rb
spree-0.4.0 vendor/plugins/rspec-rails/lib/spec/rails/extensions/object.rb
spree-0.5.0 vendor/plugins/rspec-rails/lib/spec/rails/extensions/object.rb
spree-0.5.1 vendor/plugins/rspec-rails/lib/spec/rails/extensions/object.rb
typo-5.0.2 vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb
typo-5.0.1 vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb
typo-5.0.3.98.1 vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb