Class: Stupidedi::Editor::FiftyTenEd
- Inherits:
-
AbstractEd
- Object
- AbstractEd
- Stupidedi::Editor::FiftyTenEd
- Defined in:
- lib/stupidedi/editor/005010.rb,
lib/stupidedi/editor/005010/N4.rb
Overview
Critiques (edits) a “005010” functional groups (GS/GE), then selects the appropriate editor, according to the config, and edits each transaction set (ST/SE)
Defined Under Namespace
Modules: N4
Instance Attribute Summary collapse
- #config ⇒ Config readonly
- #received ⇒ Time readonly
Instance Method Summary collapse
- #critique(gs, acc) ⇒ Object
-
#initialize(config, received) ⇒ FiftyTenEd
constructor
A new instance of FiftyTenEd.
Methods inherited from AbstractEd
#edit, edit, #rewrite, rewrite
Methods included from Inspect
Constructor Details
#initialize(config, received) ⇒ FiftyTenEd
Returns a new instance of FiftyTenEd.
17 18 19 20 |
# File 'lib/stupidedi/editor/005010.rb', line 17 def initialize(config, received) @config, @received = config, received end |
Instance Attribute Details
#config ⇒ Config (readonly)
12 13 14 |
# File 'lib/stupidedi/editor/005010.rb', line 12 def config @config end |
#received ⇒ Time (readonly)
15 16 17 |
# File 'lib/stupidedi/editor/005010.rb', line 15 def received @received end |
Instance Method Details
#critique(gs, acc) ⇒ Object
22 23 24 |
# File 'lib/stupidedi/editor/005010.rb', line 22 def critique(gs, acc) acc.tap { critique_gs(gs, acc) } end |