mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
F #4913: Add memoize to the host class
This commit is contained in:
1 parent
5890dad385
commit
d1e0edb7d8
1 file changed
+2
@@ -28,6 +28,8 @@ end # class HostFolder
|
||||
class ClusterComputeResource
|
||||
attr_accessor :item
|
||||
|
||||
include Memoize
|
||||
|
||||
def initialize(item)
|
||||
@item = item
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user