Class: Makesure::Summarize
- Inherits:
-
Object
- Object
- Makesure::Summarize
- Defined in:
- lib/makesure/summarize.rb
Instance Attribute Summary collapse
-
#blk ⇒ Object
readonly
Returns the value of attribute blk.
-
#cron ⇒ Object
readonly
Returns the value of attribute cron.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, cron, blk) ⇒ Summarize
constructor
A new instance of Summarize.
- #run! ⇒ Object
Constructor Details
#initialize(name, cron, blk) ⇒ Summarize
Returns a new instance of Summarize.
7 8 9 10 11 |
# File 'lib/makesure/summarize.rb', line 7 def initialize(name, cron, blk) @name = name @cron = cron @blk = blk end |
Instance Attribute Details
#blk ⇒ Object (readonly)
Returns the value of attribute blk.
5 6 7 |
# File 'lib/makesure/summarize.rb', line 5 def blk @blk end |
#cron ⇒ Object (readonly)
Returns the value of attribute cron.
5 6 7 |
# File 'lib/makesure/summarize.rb', line 5 def cron @cron end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/makesure/summarize.rb', line 5 def name @name end |