Class: MockedFixtures::MockConnection::Column
- Inherits:
-
Object
- Object
- MockedFixtures::MockConnection::Column
- Defined in:
- lib/mocked_fixtures/mock_connection.rb
Overview
mock column class which is used in Fixtures class insert_fixtures method
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name, type) ⇒ Column
constructor
A new instance of Column.
Constructor Details
#initialize(name, type) ⇒ Column
Returns a new instance of Column.
8 9 10 |
# File 'lib/mocked_fixtures/mock_connection.rb', line 8 def initialize(name, type) @name, @type = name, type end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/mocked_fixtures/mock_connection.rb', line 7 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
7 8 9 |
# File 'lib/mocked_fixtures/mock_connection.rb', line 7 def type @type end |