Class: Twb::Util::JoinTable
- Inherits:
-
Object
- Object
- Twb::Util::JoinTable
- Defined in:
- lib/twb/util/joinUtilities.rb
Instance Attribute Summary collapse
-
#datasource ⇒ Object
readonly
Returns the value of attribute datasource.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Instance Method Summary collapse
-
#initialize(table, datasource = nil) ⇒ JoinTable
constructor
A new instance of JoinTable.
Constructor Details
#initialize(table, datasource = nil) ⇒ JoinTable
Returns a new instance of JoinTable.
21 22 23 24 |
# File 'lib/twb/util/joinUtilities.rb', line 21 def initialize(table, datasource=nil) @table = table @datasource = datasource end |
Instance Attribute Details
#datasource ⇒ Object (readonly)
Returns the value of attribute datasource.
20 21 22 |
# File 'lib/twb/util/joinUtilities.rb', line 20 def datasource @datasource end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
20 21 22 |
# File 'lib/twb/util/joinUtilities.rb', line 20 def table @table end |