Class: Columns::RawData
- Inherits:
-
Object
- Object
- Columns::RawData
- Defined in:
- lib/columns/raw_data.rb
Overview
Public: A simple object to store raw data about a table.
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, content) ⇒ RawData
constructor
A new instance of RawData.
Constructor Details
#initialize(name, content) ⇒ RawData
Returns a new instance of RawData.
7 8 9 10 |
# File 'lib/columns/raw_data.rb', line 7 def initialize(name, content) @name = name @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
5 6 7 |
# File 'lib/columns/raw_data.rb', line 5 def content @content end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/columns/raw_data.rb', line 5 def name @name end |