Class: Synthra::Types::TextContent::Blank
- Defined in:
- lib/synthra/types/text_content/misc.rb
Overview
Blank type
Instance Method Summary collapse
- #generate_edge(rng, context, args) ⇒ Object
- #generate_invalid(rng, context, args) ⇒ Object
- #generate_random(rng, context, args) ⇒ Object
Instance Method Details
#generate_edge(rng, context, args) ⇒ Object
167 168 169 |
# File 'lib/synthra/types/text_content/misc.rb', line 167 def generate_edge(rng, context, args) [""] end |
#generate_invalid(rng, context, args) ⇒ Object
171 172 173 |
# File 'lib/synthra/types/text_content/misc.rb', line 171 def generate_invalid(rng, context, args) [nil, 123, [], {}].sample(random: rng.instance_variable_get(:@random)) end |
#generate_random(rng, context, args) ⇒ Object
163 164 165 |
# File 'lib/synthra/types/text_content/misc.rb', line 163 def generate_random(rng, context, args) "" end |