Class: Maglev::Site::StyleValue
- Inherits:
-
Object
- Object
- Maglev::Site::StyleValue
- Defined in:
- app/models/maglev/site/style_value.rb
Overview
rubocop:disable Style/ClassAndModuleChildren
Defined Under Namespace
Classes: Store
Instance Attribute Summary collapse
-
#id ⇒ Object
attributes ##.
-
#type ⇒ Object
attributes ##.
-
#value ⇒ Object
attributes ##.
Instance Method Summary collapse
-
#initialize(id, type, value) ⇒ StyleValue
constructor
A new instance of StyleValue.
Constructor Details
#initialize(id, type, value) ⇒ StyleValue
Returns a new instance of StyleValue.
8 9 10 11 12 |
# File 'app/models/maglev/site/style_value.rb', line 8 def initialize(id, type, value) @id = id @type = type @value = value end |
Instance Attribute Details
#id ⇒ Object
attributes ##
6 7 8 |
# File 'app/models/maglev/site/style_value.rb', line 6 def id @id end |
#type ⇒ Object
attributes ##
6 7 8 |
# File 'app/models/maglev/site/style_value.rb', line 6 def type @type end |
#value ⇒ Object
attributes ##
6 7 8 |
# File 'app/models/maglev/site/style_value.rb', line 6 def value @value end |