Just some ruby

Ruby code posted by nunya
created at 07 Feb 20:41

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Whatever < SomeOtherClass
  attr_accessor :my_ivar
  
  def meth_name
    5.times do |i|
      puts "this was time #{i}"
    end

    3.times {puts "whatever"}
  end

private

  def some_meth

  end

end
226 Bytes in 2 ms with coderay