Class: Texter::Preprocessor
- Inherits:
-
Object
- Object
- Texter::Preprocessor
- Includes:
- CallableClass
- Defined in:
- app/lib/texter/preprocessor.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
- #call ⇒ String, NilClass
-
#initialize(body) ⇒ Preprocessor
constructor
A new instance of Preprocessor.
Constructor Details
#initialize(body) ⇒ Preprocessor
Returns a new instance of Preprocessor.
8 9 10 |
# File 'app/lib/texter/preprocessor.rb', line 8 def initialize(body) @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
5 6 7 |
# File 'app/lib/texter/preprocessor.rb', line 5 def body @body end |
Instance Method Details
#call ⇒ String, NilClass
13 14 15 |
# File 'app/lib/texter/preprocessor.rb', line 13 def call raise NotImplementedError end |