Class: FluentCommandBuilder::Simian::V23::Simian

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/simian_23.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder) ⇒ Simian

Returns a new instance of Simian.



24
25
26
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 24

def initialize(underlying_builder)
  super underlying_builder
end

Instance Method Details

#balance_curly_braces(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


132
133
134
135
136
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 132

def balance_curly_braces(bool)
  @b.append " -balanceCurlyBraces=#{@b.format bool}"
  yield @b if block_given?
  self
end

#balance_parentheses(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


127
128
129
130
131
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 127

def balance_parentheses(bool)
  @b.append " -balanceParentheses=#{@b.format bool}"
  yield @b if block_given?
  self
end

#balance_square_brackets(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


137
138
139
140
141
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 137

def balance_square_brackets(bool)
  @b.append " -balanceSquareBrackets=#{@b.format bool}"
  yield @b if block_given?
  self
end

#default_language(language) {|@b| ... } ⇒ Object

Yields:

  • (@b)


42
43
44
45
46
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 42

def default_language(language)
  @b.append " -defaultLanguage=#{@b.format language}"
  yield @b if block_given?
  self
end

#fail_on_duplication(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


47
48
49
50
51
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 47

def fail_on_duplication(bool)
  @b.append " -failOnDuplication=#{@b.format bool}"
  yield @b if block_given?
  self
end

#formatter(formatter) {|@b| ... } ⇒ Object

Yields:

  • (@b)


27
28
29
30
31
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 27

def formatter(formatter)
  @b.append " -formatter=#{@b.format formatter}"
  yield @b if block_given?
  self
end

#ignore_blocks(markers) {|@b| ... } ⇒ Object

Yields:

  • (@b)


57
58
59
60
61
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 57

def ignore_blocks(markers)
  @b.append " -ignoreBlocks=#{@b.format markers}"
  yield @b if block_given?
  self
end

#ignore_character_case(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


102
103
104
105
106
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 102

def ignore_character_case(bool)
  @b.append " -ignoreCharacterCase=#{@b.format bool}"
  yield @b if block_given?
  self
end

#ignore_characters(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


97
98
99
100
101
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 97

def ignore_characters(bool)
  @b.append " -ignoreCharacters=#{@b.format bool}"
  yield @b if block_given?
  self
end

#ignore_curly_braces(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


62
63
64
65
66
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 62

def ignore_curly_braces(bool)
  @b.append " -ignoreCurlyBraces=#{@b.format bool}"
  yield @b if block_given?
  self
end

#ignore_identifier_case(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


72
73
74
75
76
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 72

def ignore_identifier_case(bool)
  @b.append " -ignoreIdentifierCase=#{@b.format bool}"
  yield @b if block_given?
  self
end

#ignore_identifiers(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


67
68
69
70
71
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 67

def ignore_identifiers(bool)
  @b.append " -ignoreIdentifiers=#{@b.format bool}"
  yield @b if block_given?
  self
end

#ignore_literals(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


107
108
109
110
111
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 107

def ignore_literals(bool)
  @b.append " -ignoreLiterals=#{@b.format bool}"
  yield @b if block_given?
  self
end

#ignore_modifiers(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


117
118
119
120
121
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 117

def ignore_modifiers(bool)
  @b.append " -ignoreModifiers=#{@b.format bool}"
  yield @b if block_given?
  self
end

#ignore_numbers(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


92
93
94
95
96
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 92

def ignore_numbers(bool)
  @b.append " -ignoreNumbers=#{@b.format bool}"
  yield @b if block_given?
  self
end

#ignore_regions(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


77
78
79
80
81
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 77

def ignore_regions(bool)
  @b.append " -ignoreRegions=#{@b.format bool}"
  yield @b if block_given?
  self
end

#ignore_string_case(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


87
88
89
90
91
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 87

def ignore_string_case(bool)
  @b.append " -ignoreStringCase=#{@b.format bool}"
  yield @b if block_given?
  self
end

#ignore_strings(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


82
83
84
85
86
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 82

def ignore_strings(bool)
  @b.append " -ignoreStrings=#{@b.format bool}"
  yield @b if block_given?
  self
end

#ignore_subtype_names(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


112
113
114
115
116
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 112

def ignore_subtype_names(bool)
  @b.append " -ignoreSubtypeNames=#{@b.format bool}"
  yield @b if block_given?
  self
end

#ignore_variable_names(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


122
123
124
125
126
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 122

def ignore_variable_names(bool)
  @b.append " -ignoreVariableNames=#{@b.format bool}"
  yield @b if block_given?
  self
end

#language(language) {|@b| ... } ⇒ Object

Yields:

  • (@b)


37
38
39
40
41
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 37

def language(language)
  @b.append " -language=#{@b.format language}"
  yield @b if block_given?
  self
end

#report_duplicate_text(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


52
53
54
55
56
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 52

def report_duplicate_text(bool)
  @b.append " -reportDuplicateText=#{@b.format bool}"
  yield @b if block_given?
  self
end

#threshold(threshold) {|@b| ... } ⇒ Object

Yields:

  • (@b)


32
33
34
35
36
# File 'lib/fluent_command_builder/command_builders/simian_23.rb', line 32

def threshold(threshold)
  @b.append " -threshold=#{@b.format threshold}"
  yield @b if block_given?
  self
end