Class: FlexStationData::Presenters::PlatesHash
- Inherits:
-
Object
- Object
- FlexStationData::Presenters::PlatesHash
- Includes:
- Callable[:present]
- Defined in:
- lib/flex_station_data/presenters/plates_hash.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#plates ⇒ Object
readonly
Returns the value of attribute plates.
Instance Method Summary collapse
-
#initialize(file, plates, **options) ⇒ PlatesHash
constructor
A new instance of PlatesHash.
- #present ⇒ Object
Constructor Details
#initialize(file, plates, **options) ⇒ PlatesHash
Returns a new instance of PlatesHash.
12 13 14 15 16 |
# File 'lib/flex_station_data/presenters/plates_hash.rb', line 12 def initialize(file, plates, **) @file = file @plates = plates @options = end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
10 11 12 |
# File 'lib/flex_station_data/presenters/plates_hash.rb', line 10 def file @file end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
10 11 12 |
# File 'lib/flex_station_data/presenters/plates_hash.rb', line 10 def @options end |
#plates ⇒ Object (readonly)
Returns the value of attribute plates.
10 11 12 |
# File 'lib/flex_station_data/presenters/plates_hash.rb', line 10 def plates @plates end |