Class: Maglev::Site::StyleValue

Inherits:
Object
  • Object
show all
Defined in:
app/models/maglev/site/style_value.rb

Overview

rubocop:disable Style/ClassAndModuleChildren

Defined Under Namespace

Classes: Store

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject

attributes ##



6
7
8
# File 'app/models/maglev/site/style_value.rb', line 6

def id
  @id
end

#typeObject

attributes ##



6
7
8
# File 'app/models/maglev/site/style_value.rb', line 6

def type
  @type
end

#valueObject

attributes ##



6
7
8
# File 'app/models/maglev/site/style_value.rb', line 6

def value
  @value
end