Sha256: 66d793c3f7e67045e59d6f60481e832e516df15c2c808d912fe4e2bbef85b103
Contents?: true
Size: 794 Bytes
Versions: 6
Compression:
Stored size: 794 Bytes
Contents
module OrientDB class LocalStorage def get_cluster(name_or_id) case name_or_id when Integer getClusterById name_or_id else getClusterByName name_or_id.to_s end end def inspect "#<OrientDB::LocalStorage:#{hashCode}>" end alias :to_s :inspect end class RemoteStorage def get_cluster(name_or_id) case name_or_id when Integer getClusterById name_or_id else getClusterByName name_or_id.to_s end end def inspect "#<OrientDB::RemoteStorage:#{hashCode}>" end alias :to_s :inspect end class LocalCluster def inspect "#<OrientDB::LocalCluster:#{getId} name=#{getName.inspect}>" end alias :to_s :inspect end end
Version data entries
6 entries across 6 versions & 1 rubygems