Class: TeradataCli::Table
- Defined in:
- lib/teradata-cli/dbobject.rb
Constant Summary
Constants inherited from DBObject
Instance Attribute Summary collapse
-
#current_perm ⇒ Object
(also: #size)
readonly
Returns the value of attribute current_perm.
-
#peak_perm ⇒ Object
readonly
Returns the value of attribute peak_perm.
Attributes inherited from DBObject
Instance Method Summary collapse
-
#initialize(x, y = nil, curr = nil, peak = nil) ⇒ Table
constructor
A new instance of Table.
Methods inherited from DBObject
#==, create, declare_type, #inspect, intern, #name, parse, #type_char, #type_name, #unqualified_name
Constructor Details
#initialize(x, y = nil, curr = nil, peak = nil) ⇒ Table
Returns a new instance of Table.
380 381 382 383 384 |
# File 'lib/teradata-cli/dbobject.rb', line 380 def initialize(x, y = nil, curr = nil, peak = nil) super x, y @current_perm = curr @peak_perm = peak end |
Instance Attribute Details
#current_perm ⇒ Object (readonly) Also known as: size
Returns the value of attribute current_perm.
386 387 388 |
# File 'lib/teradata-cli/dbobject.rb', line 386 def current_perm @current_perm end |
#peak_perm ⇒ Object (readonly)
Returns the value of attribute peak_perm.
388 389 390 |
# File 'lib/teradata-cli/dbobject.rb', line 388 def peak_perm @peak_perm end |