Class: TableTennis::Stage::Base
- Inherits:
-
Object
- Object
- TableTennis::Stage::Base
- Extended by:
- Forwardable
- Includes:
- MemoWise, Util::Inspectable
- Defined in:
- lib/table_tennis/stage/base.rb
Overview
Base class for each stage of the rendering pipeline, mostly here just to delegate to TableData.
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ Base
constructor
A new instance of Base.
Methods included from Util::Inspectable
Constructor Details
#initialize(data) ⇒ Base
Returns a new instance of Base.
14 |
# File 'lib/table_tennis/stage/base.rb', line 14 def initialize(data) = @data = data |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
10 11 12 |
# File 'lib/table_tennis/stage/base.rb', line 10 def data @data end |