class Twb::JoinTablePair

Attributes

from[R]
to[R]

Public Class Methods

new(from, to) click to toggle source
# File lib/twb/datasource.rb, line 608
def initialize(from, to)
  raise ParamaterException.new("'From' cannot be nil.") if from.nil?
  raise ParamaterException.new("'To' cannot be nil.")   if to.nil?
  @from = from
  @to   = to
end

Public Instance Methods

to_s() click to toggle source
# File lib/twb/datasource.rb, line 614
def to_s
  "#{@from} -> #{@to}"
end