Class: Ambling::Stock::Settings::Scroller::Playback

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/ambling/stock.rb

Overview

false

(true / false) #

Defined Under Namespace

Classes: SpeedIndicator

Constant Summary collapse

VALUES =
[:enabled,:color,:color_hover,:speed,:max_speed,:loop,:speed_indicator]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#colorObject

#CC0000

(hex code) #



1767
1768
1769
# File 'lib/ambling/stock.rb', line 1767

def color
  @color
end

#color_hoverObject

5

(Number) #



1771
1772
1773
# File 'lib/ambling/stock.rb', line 1771

def color_hover
  @color_hover
end

#enabledObject

#000000

(hex code) #



1763
1764
1765
# File 'lib/ambling/stock.rb', line 1763

def enabled
  @enabled
end

#loopObject

Returns the value of attribute loop.



1783
1784
1785
# File 'lib/ambling/stock.rb', line 1783

def loop
  @loop
end

#max_speedObject

true

(true / false) #



1779
1780
1781
# File 'lib/ambling/stock.rb', line 1779

def max_speed
  @max_speed
end

#speedObject

10

(Number) #



1775
1776
1777
# File 'lib/ambling/stock.rb', line 1775

def speed
  @speed
end

#speed_indicatorObject

true

(true / false) #



1787
1788
1789
# File 'lib/ambling/stock.rb', line 1787

def speed_indicator
  @speed_indicator
end