Top Level Namespace

Defined Under Namespace

Classes: Extensions, Help, MagicSteps

Constant Summary collapse

DATA =

Return quotes and truths about the great Roberto Barros

YAML.load_file(File.join(__dir__, 'data.yml'))
HIHY =
'Hope I helped you! :)'

Instance Method Summary collapse

Instance Method Details

#puts_data_splitting_by_newline(data) ⇒ Object



9
10
11
12
13
14
15
16
17
18
19
# File 'lib/before_tickets.rb', line 9

def puts_data_splitting_by_newline(data)
  puts
  if data.include? '/n'
    data.split('/n').each do |line|
      puts line
    end
  else
    puts data
  end
  puts
end