Class: Makit::Ruby
- Inherits:
-
Object
- Object
- Makit::Ruby
- Defined in:
- lib/makit/ruby.rb,
lib/makit/ruby/cli.rb
Defined Under Namespace
Classes: CLI
Class Method Summary collapse
-
.info ⇒ Object
Get Ruby environment information (convenience method).
-
.installed? ⇒ Boolean
Check if Ruby is installed (convenience method).
-
.version ⇒ Object
Get current Ruby version (convenience method).
Class Method Details
.info ⇒ Object
Get Ruby environment information (convenience method)
21 22 23 |
# File 'lib/makit/ruby.rb', line 21 def self.info CLI.environment_summary end |
.installed? ⇒ Boolean
Check if Ruby is installed (convenience method)
16 17 18 |
# File 'lib/makit/ruby.rb', line 16 def self.installed? CLI.installed? end |
.version ⇒ Object
Get current Ruby version (convenience method)
11 12 13 |
# File 'lib/makit/ruby.rb', line 11 def self.version CLI.current_version end |