Ruby Basic Data Types are fundamental building blocks that store different kinds of information. Ruby is dynamically typed, meaning variables don't need explicit type declarations, and everything in Ruby is an object with built-in methods. 1. Numbers: Ruby handles integers and floating-point numbers seamlessly: # Integers age = 25 big_number = 1_000_000 # Underscores for readability puts age.class # Integer # Floats height = 5.9 pi = 3.14159 puts height.class # Float # Number operations puts 10 + 5 # 15 puts 10.0 / 3 # 3.3333333333333335 puts 10 / 3 # 3 (integer division) puts 2 ** 8 # 256 (exponentiation) 2. Strings: Strings are sequences of characters with powerful manipulation methods: name = "Alice" greeting = 'Hello' # Single or double quotes message = "Hello, #{name}!" # String interpolation puts name.length # 5 puts name.upcase # ALICE puts name.downcase ...