class HelloRuby
Public Class Methods
creator()
click to toggle source
# File lib/hello_ruby.rb, line 10 def self.creator puts "Yukihiro Matsumoto (Matz)" end
hi()
click to toggle source
# File lib/hello_ruby.rb, line 2 def self.hi puts "Hello ruby!" end
info()
click to toggle source
# File lib/hello_ruby.rb, line 14 def self.info puts "Ruby is a dynamic, reflective, object-oriented, general-purpose programming language. It was designed and developed in the mid-1990s by Yukihiro Matsumoto in Japan. According to its creator, Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp." end
license()
click to toggle source
# File lib/hello_ruby.rb, line 22 def self.license puts "Ruby, GPLv2 or 2-clause BSD license" end
os()
click to toggle source
# File lib/hello_ruby.rb, line 18 def self.os puts "Cross-platform" end
version()
click to toggle source
# File lib/hello_ruby.rb, line 6 def self.version puts "2.4.0" end