diff --git a/ruby.rb b/ruby.rb index c56baa23..2beb1f22 100644 --- a/ruby.rb +++ b/ruby.rb @@ -1,16 +1,2 @@ #!/usr/bin/ruby - -class Hello - - def initialize - @message = "Hello World!" - end - - def say_hi - puts @message - end - -end - -h = Hello.new -h.say_hi +puts "Hello World" diff --git a/ruby_procedural.rb b/ruby_procedural.rb deleted file mode 100644 index 2beb1f22..00000000 --- a/ruby_procedural.rb +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/ruby -puts "Hello World"