Class: ForeignKeyChecker::Utils::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/foreign_key_checker/utils.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Result

Returns a new instance of Result.



5
6
7
# File 'lib/foreign_key_checker/utils.rb', line 5

def initialize(args)
  args.each { |k, v| instance_variable_set("@#{k}", v) }
end

Instance Attribute Details

#from_columnObject (readonly)

Returns the value of attribute from_column.



4
5
6
# File 'lib/foreign_key_checker/utils.rb', line 4

def from_column
  @from_column
end

#from_tableObject (readonly)

Returns the value of attribute from_table.



4
5
6
# File 'lib/foreign_key_checker/utils.rb', line 4

def from_table
  @from_table
end

#to_columnObject (readonly)

Returns the value of attribute to_column.



4
5
6
# File 'lib/foreign_key_checker/utils.rb', line 4

def to_column
  @to_column
end

#to_tableObject (readonly)

Returns the value of attribute to_table.



4
5
6
# File 'lib/foreign_key_checker/utils.rb', line 4

def to_table
  @to_table
end