module Stringreverser
Constants
- VERSION
Public Class Methods
hello()
click to toggle source
# File lib/stringreverser.rb, line 4 def self.hello puts "Hello, World!" end
str_reverse(word)
click to toggle source
# File lib/stringreverser.rb, line 8 def self.str_reverse(word) reverse_str = word.reverse reverse_str end