Class: Relaton::Processor
- Inherits:
-
Object
- Object
- Relaton::Processor
- Defined in:
- lib/relaton/processor.rb
Instance Attribute Summary collapse
-
#prefix ⇒ Object
readonly
Returns the value of attribute prefix.
-
#short ⇒ Object
readonly
Returns the value of attribute short.
Instance Method Summary collapse
- #get(code, date, opts) ⇒ Object
-
#initialize ⇒ Processor
constructor
A new instance of Processor.
Constructor Details
#initialize ⇒ Processor
Returns a new instance of Processor.
7 8 9 |
# File 'lib/relaton/processor.rb', line 7 def initialize raise "This is an abstract class!" end |
Instance Attribute Details
#prefix ⇒ Object (readonly)
Returns the value of attribute prefix.
5 6 7 |
# File 'lib/relaton/processor.rb', line 5 def prefix @prefix end |
#short ⇒ Object (readonly)
Returns the value of attribute short.
4 5 6 |
# File 'lib/relaton/processor.rb', line 4 def short @short end |
Instance Method Details
#get(code, date, opts) ⇒ Object
11 12 13 |
# File 'lib/relaton/processor.rb', line 11 def get(code, date, opts) raise "This is an abstract class!" end |