Class: TestModule::LibraryNew

Inherits:
Object
  • Object
show all
Defined in:
lib/test_module/library_new.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_new.rb', line 3

def called
  @called
end

#lib_attributeObject

Returns the value of attribute lib_attribute.



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

def lib_attribute
  @lib_attribute
end

Instance Method Details

#a_methodObject



9
10
11
# File 'lib/test_module/library_new.rb', line 9

def a_method
  @called = true;
end

#method_on_library_newObject



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

def method_on_library_new
  @called = true;
end