w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • Bulletin
  • Posts
doc_ruby_on_rails
doc_ruby_on_rails


user_dir

user_dir() Class Public methods Path for gems in the user's home directory

use_paths

use_paths(home, *paths) Class Public methods Use the home and paths values for ::dir and ::path. Used mainly by the unit tests to provide environment isolation.

ui

ui() Class Public methods Lazily loads DefaultUserInteraction and returns the default UI.

try_activate

try_activate(path) Class Public methods Try to activate a gem containing path. Returns true if activation succeeded or wasn't needed because it was already activated. Returns false if it can't find the path in a gem.

time

time(msg, width = 0, display = Gem.configuration.verbose) Class Public methods Prints the amount of time the supplied block takes to run using the debug UI output.

suffixes

suffixes() Class Public methods Suffixes for require-able paths.

suffix_pattern

suffix_pattern() Class Public methods Glob pattern for require-able path suffixes.

sources=

sources=(new_sources) Class Public methods Need to be able to set the sources without calling ::sources.replace since that would cause an infinite loop. DOC: This comment is not documentation about the method itself, it's more of a code comment about the implementation.

sources

sources() Class Public methods Returns an Array of sources to fetch remote gems from. Uses ::default_sources if the sources list is empty.

rubygems_version

rubygems_version() Class Public methods A Gem::Version for the currently running RubyGems

Page 1964 of 2275

|< < Prev 1961 1962 1963 1964 1965 1966 1967 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions