Class: Vedeu::Stream
- Inherits:
-
Object
- Object
- Vedeu::Stream
- Includes:
- Presentation, Style
- Defined in:
- lib/vedeu/models/stream.rb
Instance Method Summary collapse
Methods included from Style
Instance Method Details
#to_json ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/vedeu/models/stream.rb', line 15 def to_json { colour: colour, style: style_original, text: text }.to_json end |
#to_s(options = {}) ⇒ Object
23 24 25 |
# File 'lib/vedeu/models/stream.rb', line 23 def to_s( = {}) [colour, style, text].join end |