Class: Vedeu::API::Stream

Inherits:
Stream
  • Object
show all
Includes:
Helpers
Defined in:
lib/vedeu/api/stream.rb

Instance Method Summary collapse

Methods included from Helpers

#colour, #style

Methods inherited from Stream

#attributes, build, #colour, #initialize, #style, #to_s

Constructor Details

This class inherits a constructor from Vedeu::Stream

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Vedeu::Stream

Instance Method Details

#align(value) ⇒ Object



6
7
8
# File 'lib/vedeu/api/stream.rb', line 6

def align(value)
  attributes[:align] = value
end

#text(value) ⇒ Object



10
11
12
# File 'lib/vedeu/api/stream.rb', line 10

def text(value)
  attributes[:text] = value
end

#width(value) ⇒ Object



14
15
16
# File 'lib/vedeu/api/stream.rb', line 14

def width(value)
  attributes[:width] = value
end