Class: CFONB::OperationDetails::Base
- Inherits:
-
Object
- Object
- CFONB::OperationDetails::Base
show all
- Defined in:
- lib/cfonb/operation_details/base.rb
Direct Known Subclasses
FEE, IBE, IPY, LC2, LCC, LCS, LIB, MMO, NBE, NBU, NPO, NPY, RCN, REF
Class Method Summary
collapse
Class Method Details
.inherited(base) ⇒ Object
6
7
8
9
10
11
12
13
14
15
16
|
# File 'lib/cfonb/operation_details/base.rb', line 6
def self.inherited(base)
base.singleton_class.prepend(
Module.new do
def apply(details, line)
details.instance_variable_set(:"@#{line.detail_code}", line.detail)
super
end
end,
)
end
|