Class: Fanli::Base
- Inherits:
-
Object
- Object
- Fanli::Base
- Defined in:
- lib/fanli/base.rb
Overview
Base class to inherit
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*args) ⇒ Base
constructor
A new instance of Base.
- #perform ⇒ Object
Constructor Details
#initialize(*args) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/fanli/base.rb', line 8 def initialize(*args) @args = args end |
Class Method Details
.inherited(sub) ⇒ Object
4 5 6 |
# File 'lib/fanli/base.rb', line 4 def self.inherited(sub) sub.extend(ClassMethods) end |
Instance Method Details
#perform ⇒ Object
12 13 14 |
# File 'lib/fanli/base.rb', line 12 def perform throw(:please_create_your_own_perform_method) end |