Class: PgCtrl::RDBMSObject
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#oid ⇒ Object
readonly
Returns the value of attribute oid.
-
#owner ⇒ Object
readonly
Returns the value of attribute owner.
-
#rdbms ⇒ Object
readonly
Returns the value of attribute rdbms.
Instance Method Summary collapse
-
#initialize(rdbms, oid, name, owner, opts = {}) ⇒ RDBMSObject
constructor
A new instance of RDBMSObject.
- #to_s ⇒ Object
Methods included from Utils
Constructor Details
#initialize(rdbms, oid, name, owner, opts = {}) ⇒ RDBMSObject
Returns a new instance of RDBMSObject.
11 12 13 |
# File 'lib/pg_ctrl/db.rb', line 11 def initialize(rdbms, oid, name, owner, opts = {}) @rdbms, @oid, @name, @owner = rdbms, oid, name, owner end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
9 10 11 |
# File 'lib/pg_ctrl/db.rb', line 9 def name @name end |
#oid ⇒ Object (readonly)
Returns the value of attribute oid.
8 9 10 |
# File 'lib/pg_ctrl/db.rb', line 8 def oid @oid end |
#owner ⇒ Object (readonly)
Returns the value of attribute owner.
10 11 12 |
# File 'lib/pg_ctrl/db.rb', line 10 def owner @owner end |
#rdbms ⇒ Object (readonly)
Returns the value of attribute rdbms.
7 8 9 |
# File 'lib/pg_ctrl/db.rb', line 7 def rdbms @rdbms end |
Instance Method Details
#to_s ⇒ Object
14 |
# File 'lib/pg_ctrl/db.rb', line 14 def to_s() @name end |