Class: Test

Inherits:
Object
  • Object
show all
Defined in:
lib/test_rofl.rb

Instance Method Summary collapse

Constructor Details

#initializeTest

Returns a new instance of Test.



5
6
7
# File 'lib/test_rofl.rb', line 5

def initialize
  dlog "initialize"
end

Instance Method Details

#call_hello_worldObject



8
9
10
11
12
# File 'lib/test_rofl.rb', line 8

def call_hello_world
  other_method
  hello_world
  other_method
end

#hello_worldObject



13
14
15
16
17
# File 'lib/test_rofl.rb', line 13

def hello_world
  other_method
  dlog "hello world!"
  other_method
end

#other_methodObject



18
19
20
# File 'lib/test_rofl.rb', line 18

def other_method
  ilog "other method called"
end