Class: Almicube::Bundler::Base

Inherits:
Object
  • Object
show all
Includes:
Cog
Defined in:
lib/almicube/bundler/base.rb

Direct Known Subclasses

DaysAgoBundler, TodayBundler, YesterdayBundler

Instance Attribute Summary collapse

Attributes included from Cog

#ranking

Instance Method Summary collapse

Methods included from Cog

#active?, #after_aggregate, #before_aggregate

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.



7
8
9
# File 'lib/almicube/bundler/base.rb', line 7

def initialize(options={})
  @name = options[:bundle] || options[:name]
end

Instance Attribute Details

#nameObject (readonly) Also known as: bundle

Returns the value of attribute name.



5
6
7
# File 'lib/almicube/bundler/base.rb', line 5

def name
  @name
end

Instance Method Details

#keysObject



13
14
15
# File 'lib/almicube/bundler/base.rb', line 13

def keys
  []
end