Class: AmCharts::Listener
- Inherits:
-
Object
- Object
- AmCharts::Listener
- Defined in:
- lib/amcharts/listener.rb
Instance Attribute Summary collapse
-
#method ⇒ Object
Returns the value of attribute method.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, method) ⇒ Listener
constructor
A new instance of Listener.
Constructor Details
#initialize(type, method) ⇒ Listener
Returns a new instance of Listener.
5 6 7 8 |
# File 'lib/amcharts/listener.rb', line 5 def initialize(type, method) @type = type @method = method end |
Instance Attribute Details
#method ⇒ Object
Returns the value of attribute method.
3 4 5 |
# File 'lib/amcharts/listener.rb', line 3 def method @method end |
#type ⇒ Object
Returns the value of attribute type.
3 4 5 |
# File 'lib/amcharts/listener.rb', line 3 def type @type end |