Sha256: 293664e8fbe937fc165a9181df102c8eb52fc4c8059edf642b42d7651bcaa7dc
Contents?: true
Size: 945 Bytes
Versions: 16
Compression:
Stored size: 945 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 class LogicalCluster def inspect "#<OrientDB::LogicalCluster:#{getId} name=#{getName.inspect}>" end alias :to_s :inspect end end
Version data entries
16 entries across 16 versions & 1 rubygems