Class: TestModule::LibraryOld

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#calledObject (readonly)

Returns the value of attribute called.



3
4
5
# File 'lib/test_module/library_old.rb', line 3

def called
  @called
end

Instance Method Details

#a_methodObject



8
9
10
# File 'lib/test_module/library_old.rb', line 8

def a_method
  @called = true
end

#method_on_library_oldObject



4
5
6
# File 'lib/test_module/library_old.rb', line 4

def method_on_library_old
  @called = true;
end