Class: AmCharts::Listener

Inherits:
Object
  • Object
show all
Defined in:
lib/amcharts/listener.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#methodObject

Returns the value of attribute method.



3
4
5
# File 'lib/amcharts/listener.rb', line 3

def method
  @method
end

#typeObject

Returns the value of attribute type.



3
4
5
# File 'lib/amcharts/listener.rb', line 3

def type
  @type
end