Class: SiSU_Info_Processing_Flag::InfoProcessingFlag

Inherits:
Object
  • Object
show all
Defined in:
lib/sisu/se_processing.rb

Direct Known Subclasses

SiSU_Env::InfoProcessingFlag

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeInfoProcessingFlag

Returns a new instance of InfoProcessingFlag.



463
464
465
# File 'lib/sisu/se_processing.rb', line 463

def initialize
  @rc=SiSU_Get_Init::GetInit.new.sisu_yaml.rc
end

Instance Attribute Details

#act_0Object

configurable processing flag shortcuts



471
472
473
# File 'lib/sisu/se_processing.rb', line 471

def act_0
  @act_0
end

#act_1Object

configurable processing flag shortcuts



490
491
492
# File 'lib/sisu/se_processing.rb', line 490

def act_1
  @act_1
end

#act_2Object

configurable processing flag shortcuts



509
510
511
# File 'lib/sisu/se_processing.rb', line 509

def act_2
  @act_2
end

#act_3Object

configurable processing flag shortcuts



528
529
530
# File 'lib/sisu/se_processing.rb', line 528

def act_3
  @act_3
end

#act_4Object

configurable processing flag shortcuts



547
548
549
# File 'lib/sisu/se_processing.rb', line 547

def act_4
  @act_4
end

#act_5Object

configurable processing flag shortcuts



566
567
568
# File 'lib/sisu/se_processing.rb', line 566

def act_5
  @act_5
end

#act_6Object

configurable processing flag shortcuts



585
586
587
# File 'lib/sisu/se_processing.rb', line 585

def act_6
  @act_6
end

#act_7Object

configurable processing flag shortcuts



601
602
603
# File 'lib/sisu/se_processing.rb', line 601

def act_7
  @act_7
end

#act_8Object

configurable processing flag shortcuts



617
618
619
# File 'lib/sisu/se_processing.rb', line 617

def act_8
  @act_8
end

#act_9Object

configurable processing flag shortcuts



633
634
635
# File 'lib/sisu/se_processing.rb', line 633

def act_9
  @act_9
end

#colorObject

configurable processing flag shortcuts



466
467
468
# File 'lib/sisu/se_processing.rb', line 466

def color
  @color
end

Instance Method Details

#act_infoObject



649
650
651
652
653
654
655
656
# File 'lib/sisu/se_processing.rb', line 649

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

#arrObject



485
486
487
# File 'lib/sisu/se_processing.rb', line 485

def arr
  str.scan(/\S+/)
end

#defaultObject



472
473
474
# File 'lib/sisu/se_processing.rb', line 472

def default
  '--manifest --digest --qrcode --text --html --epub --concordance --pdf --odf --docbook --xhtml --xml-sax --xml-dom --sqlite --verbose'
end

#strObject



475
476
477
478
479
480
481
482
483
484
# File 'lib/sisu/se_processing.rb', line 475

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