Class: StatsLite::RufusWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/stats_lite/rufus_wrapper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRufusWrapper

Returns a new instance of RufusWrapper.



5
6
7
# File 'lib/stats_lite/rufus_wrapper.rb', line 5

def initialize
  @instance = Rufus::Scheduler.new
end

Instance Attribute Details

#instanceObject (readonly)

Returns the value of attribute instance.



3
4
5
# File 'lib/stats_lite/rufus_wrapper.rb', line 3

def instance
  @instance
end