Class: SiSU_Info_Processing_Flag::InfoProcessingFlag
- Inherits:
-
Object
- Object
- SiSU_Info_Processing_Flag::InfoProcessingFlag
- Defined in:
- lib/sisu/se_processing.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#act_0 ⇒ Object
configurable processing flag shortcuts.
-
#act_1 ⇒ Object
configurable processing flag shortcuts.
-
#act_2 ⇒ Object
configurable processing flag shortcuts.
-
#act_3 ⇒ Object
configurable processing flag shortcuts.
-
#act_4 ⇒ Object
configurable processing flag shortcuts.
-
#act_5 ⇒ Object
configurable processing flag shortcuts.
-
#act_6 ⇒ Object
configurable processing flag shortcuts.
-
#act_7 ⇒ Object
configurable processing flag shortcuts.
-
#act_8 ⇒ Object
configurable processing flag shortcuts.
-
#act_9 ⇒ Object
configurable processing flag shortcuts.
-
#color ⇒ Object
configurable processing flag shortcuts.
Instance Method Summary collapse
- #act_info ⇒ Object
- #arr ⇒ Object
- #default ⇒ Object
-
#initialize ⇒ InfoProcessingFlag
constructor
A new instance of InfoProcessingFlag.
- #str ⇒ Object
Constructor Details
#initialize ⇒ InfoProcessingFlag
Returns a new instance of InfoProcessingFlag.
461 462 463 |
# File 'lib/sisu/se_processing.rb', line 461 def initialize @rc=SiSU_Get_Init::GetInit.new.sisu_yaml.rc end |
Instance Attribute Details
#act_0 ⇒ Object
configurable processing flag shortcuts
469 470 471 |
# File 'lib/sisu/se_processing.rb', line 469 def act_0 @act_0 end |
#act_1 ⇒ Object
configurable processing flag shortcuts
488 489 490 |
# File 'lib/sisu/se_processing.rb', line 488 def act_1 @act_1 end |
#act_2 ⇒ Object
configurable processing flag shortcuts
507 508 509 |
# File 'lib/sisu/se_processing.rb', line 507 def act_2 @act_2 end |
#act_3 ⇒ Object
configurable processing flag shortcuts
526 527 528 |
# File 'lib/sisu/se_processing.rb', line 526 def act_3 @act_3 end |
#act_4 ⇒ Object
configurable processing flag shortcuts
545 546 547 |
# File 'lib/sisu/se_processing.rb', line 545 def act_4 @act_4 end |
#act_5 ⇒ Object
configurable processing flag shortcuts
564 565 566 |
# File 'lib/sisu/se_processing.rb', line 564 def act_5 @act_5 end |
#act_6 ⇒ Object
configurable processing flag shortcuts
583 584 585 |
# File 'lib/sisu/se_processing.rb', line 583 def act_6 @act_6 end |
#act_7 ⇒ Object
configurable processing flag shortcuts
599 600 601 |
# File 'lib/sisu/se_processing.rb', line 599 def act_7 @act_7 end |
#act_8 ⇒ Object
configurable processing flag shortcuts
615 616 617 |
# File 'lib/sisu/se_processing.rb', line 615 def act_8 @act_8 end |
#act_9 ⇒ Object
configurable processing flag shortcuts
631 632 633 |
# File 'lib/sisu/se_processing.rb', line 631 def act_9 @act_9 end |
#color ⇒ Object
configurable processing flag shortcuts
464 465 466 |
# File 'lib/sisu/se_processing.rb', line 464 def color @color end |
Instance Method Details
#act_info ⇒ Object
647 648 649 650 651 652 653 654 |
# File 'lib/sisu/se_processing.rb', line 647 def act_info puts 'current "act" settings:' acts=%w[ act_0 act_1 act_2 act_3 act_4 act_5 act_6 act_7 act_8 act_9 ] acts.each_with_index do |m,i| puts '--act-' + i.to_s + ' == ' \ + send(m).str end end |
#arr ⇒ Object
483 484 485 |
# File 'lib/sisu/se_processing.rb', line 483 def arr str.scan(/\S+/) end |
#default ⇒ Object
470 471 472 |
# File 'lib/sisu/se_processing.rb', line 470 def default '--manifest --digest --qrcode --text --html --epub --concordance --pdf --odf --docbook --xhtml --xml-sax --xml-dom --sqlite --verbose' end |
#str ⇒ Object
473 474 475 476 477 478 479 480 481 482 |
# File 'lib/sisu/se_processing.rb', line 473 def str if defined? @rc['flag']['act0'] \ and @rc['flag']['act0'].is_a?(String) @rc['flag']['act0'] elsif defined? @rc['flag']['default'] \ and @rc['flag']['default'].is_a?(String) @rc['flag']['default'] else default end end |