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
dchelimsky-rspec-rails-1.1.10 lib/spec/rails/extensions/object.rb
dchelimsky-rspec-rails-1.1.11.1 lib/spec/rails/extensions/object.rb
dchelimsky-rspec-rails-1.1.11.2 lib/spec/rails/extensions/object.rb
dchelimsky-rspec-rails-1.1.11.3 lib/spec/rails/extensions/object.rb
dchelimsky-rspec-rails-1.1.11 lib/spec/rails/extensions/object.rb
dchelimsky-rspec-rails-1.1.6 lib/spec/rails/extensions/object.rb
dchelimsky-rspec-rails-1.1.7 lib/spec/rails/extensions/object.rb
dchelimsky-rspec-rails-1.1.8 lib/spec/rails/extensions/object.rb
dchelimsky-rspec-rails-1.1.9 lib/spec/rails/extensions/object.rb
jcnetdev-rspec-rails-1.1.5 lib/spec/rails/extensions/object.rb
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec-rails/lib/spec/rails/extensions/object.rb
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec-rails/lib/spec/rails/extensions/object.rb
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec-rails/lib/spec/rails/extensions/object.rb
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec-rails/lib/spec/rails/extensions/object.rb
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb