Class: Stupidedi::Editor::FortyTenEd

Inherits:
AbstractEd show all
Defined in:
lib/stupidedi/editor/004010.rb,
lib/stupidedi/editor/004010/N4.rb

Overview

Critiques (edits) a "004010" 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

Instance Method Summary collapse

Methods inherited from AbstractEd

#edit, edit, #rewrite, rewrite

Methods included from Inspect

#inspect

Constructor Details

#initialize(config, received) ⇒ FortyTenEd

Returns a new instance of FortyTenEd.



18
19
20
21
# File 'lib/stupidedi/editor/004010.rb', line 18

def initialize(config, received)
  @config, @received =
    config, received
end

Instance Attribute Details

#configConfig (readonly)

Returns:



13
14
15
# File 'lib/stupidedi/editor/004010.rb', line 13

def config
  @config
end

#receivedTime (readonly)

Returns:

  • (Time)


16
17
18
# File 'lib/stupidedi/editor/004010.rb', line 16

def received
  @received
end

Instance Method Details

#critique(gs, acc)



23
24
25
# File 'lib/stupidedi/editor/004010.rb', line 23

def critique(gs, acc)
  acc.tap { critique_gs(gs, acc) }
end