Class: AmCharts::Legend
- Inherits:
-
Object
- Object
- AmCharts::Legend
- Defined in:
- lib/amcharts/legend.rb
Instance Attribute Summary collapse
-
#listeners ⇒ Object
readonly
Returns the value of attribute listeners.
-
#settings ⇒ Object
readonly
Returns the value of attribute settings.
Instance Method Summary collapse
-
#initialize(&block) ⇒ Legend
constructor
A new instance of Legend.
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object (private)
13 14 15 |
# File 'lib/amcharts/legend.rb', line 13 def method_missing(name, *args, &block) @settings.send(name, *args, &block) end |
Instance Attribute Details
#listeners ⇒ Object (readonly)
Returns the value of attribute listeners.
3 4 5 |
# File 'lib/amcharts/legend.rb', line 3 def listeners @listeners end |
#settings ⇒ Object (readonly)
Returns the value of attribute settings.
3 4 5 |
# File 'lib/amcharts/legend.rb', line 3 def settings @settings end |