Menu Close
  • Categories
  • Tags
  • About
Close
    • xoreth (coret)
    • Categories
    • Tags
    • Search

    [Ruby] [Basic] Stdin Ruby

    Published: March 22, 2020 by Galuh D Wijatmiko Creative Commons Licence

    • Categories:
    • Programming 15
    • Tags:
    • BasicRuby 2
    • Ruby 2

    using gets function

    Create fil gets.rb

    
    print "Hallo siapa nama mu? " 
    nama = gets
    puts "nama saya #{nama}"
    
    

    execute :

    ruby gets.rb
    
    Back to Top
    ← [Ruby] Render Template ROR [ASA Firewall] Add Object To Group Object →

    About

    The Notes of System Engineer

    @wajatmaka | 2020
    Back to Top