class LocalLibrary::Library
Attributes
address[RW]
branch[R]
phone[RW]
status[RW]
Public Class Methods
array_length()
click to toggle source
# File lib/local_library/library.rb, line 15 def self.array_length self.libraries.length end
clear()
click to toggle source
# File lib/local_library/library.rb, line 19 def self.clear self.libraries.clear end
libraries()
click to toggle source
# File lib/local_library/library.rb, line 11 def self.libraries @@libraries end
new(branch)
click to toggle source
# File lib/local_library/library.rb, line 7 def initialize(branch) @branch = branch end