- What is the difference between a local and an instance variable?
- How do you declare a variable in Ruby?
- What is the use of a block in Ruby?
- What are the different types of data structures available in Ruby?
- How do you define a method in Ruby?
- What is the difference between a symbol and a string in Ruby?
- What is the purpose of a module in Ruby?
- How do you use control structures like if-else, while, and for loops in Ruby?
- What is the use of the ‘yield’ keyword in Ruby?
- What are the different types of loops available in Ruby?
- How do you define a class in Ruby?
- What is the difference between a method and a function in Ruby?
- What is the use of the ‘attr_accessor’ method in Ruby?
- How do you handle user input in Ruby?
- What is the purpose of the ‘unless’ keyword in Ruby?
- How do you import external libraries in Ruby?
- What is the use of the ‘require’ keyword in Ruby?
- How do you handle strings in Ruby?
- What is the difference between puts and print in Ruby?
- Explain the concept of metaclasses in Ruby.
- What is a lambda in Ruby?
- What is the difference between Proc and lambda?
- Explain the use of iterators in Ruby.
- What is the difference between include and extend in Ruby?
- How do you implement exception handling in Ruby?
- Explain the concept of Mixins in Ruby.
- What are the different types of variables available in Ruby?
- What is the use of the ‘self’ keyword in Ruby?
- What is a callback in Ruby?
- What is the difference between a hash and an array in Ruby?
- What is the use of the ‘case’ keyword in Ruby?
- What is the difference between a private and a protected method in Ruby?
- How do you create a custom exception class in Ruby?
- What is the use of the ‘alias’ keyword in Ruby?
- How do you implement multithreading in Ruby?
- What is the use of the ‘superclass’ method in Ruby?
- What is the use of the ‘self.included’ method in Ruby?
- How do you use Regular Expressions in Ruby?
- What is the use of the ‘retry’ keyword in Ruby?
- Explain the concept of continuations in Ruby.
- What is the difference between a lambda and a proc object in Ruby?
- What is the difference between ‘def’ and ‘define_method’ in Ruby?
- How do you implement the ‘Enumerable’ module in Ruby?
- What is the difference between ‘ObjectSpace’ and ‘GC’ modules in Ruby?
- Explain the concept of singleton methods in Ruby.
- What is the difference between an ‘if’ statement and a ‘ternary operator’ in Ruby?
- How do you implement a custom Enumerator in Ruby?
- Explain the concept of ‘Symbol GC’ in Ruby.
- What is the difference between a ‘Mutex’ and a ‘Semaphore’ in Ruby?
- How do you implement a custom ‘Enumerable’ module in Ruby?
- Explain the concept of ‘Eigenclass’ in Ruby.
- What is the difference between ‘Thread’, ‘Fiber’ and ‘Actor’ in Ruby?
- How do you implement a custom ‘Comparable’ module in Ruby?
- Explain the concept of ‘Splat operator’ in Ruby.
- How do you implement concurrency in Ruby?
- Explain the concept of lazy evaluation in Ruby.
- How do you implement an Observer pattern in Ruby?
- What is the difference between a ‘has_one’ and a ‘belongs_to’ association in Ruby on Rails?
- What is the difference between a ‘before_filter’ and an ‘after_filter’ in Ruby on Rails?
- Explain the difference between Proc, lambda and method in Ruby.
- What is the difference between a class and a module in Ruby?
- Explain the use of the ‘super’ keyword in Ruby.
- What is the difference between threads and processes in Ruby?
- What is a singleton class in Ruby?
- What is the difference between a shallow copy and a deep copy in Ruby?
- How do you use Ruby to interact with databases?
- Explain the concept of object serialization in Ruby.
- What are some of the best practices for writing efficient Ruby code?
- How do you design a RESTful API using Ruby on Rails?
- Explain the concept of Refinements in Ruby.
- What is the difference between a block and a lambda in Ruby?
- How do you implement memoization in Ruby?
- What is the use of the ‘FILE’ keyword in Ruby?
- Explain the concept of Monkey Patching in Ruby.
- What is the difference between ‘puts’, ‘print’, and ‘p’ in Ruby?
- How do you implement a custom iterator in Ruby?
- Explain the concept of Fibers in Ruby.
- How do you use the ‘tap’ method in Ruby?
- What is the difference between ‘dup’ and ‘clone’ methods in Ruby?
- Explain the concept of continuations in Ruby.
- What is the difference between a lambda and a proc object in Ruby?
- What is the difference between ‘def’ and ‘define_method’ in Ruby?
- How do you implement the ‘Enumerable’ module in Ruby?
- What is the difference between ‘ObjectSpace’ and ‘GC’ modules in Ruby?
- Explain the concept of singleton methods in Ruby.
- What is the difference between an ‘if’ statement and a ‘ternary operator’ in Ruby?
- How do you implement a custom Enumerator in Ruby?
- Explain the concept of ‘Symbol GC’ in Ruby.
- What is the difference between a ‘Mutex’ and a ‘Semaphore’ in Ruby?
- Explain the concept of Closures in Ruby.
- What is the difference between a class method and an instance method in Ruby?
- How do you implement a custom ‘Marshal’ format in Ruby?
- Explain the concept of ‘Y combinator’ in Ruby.
- What is the difference between a ‘gem’ and a ‘plugin’ in Ruby?
- How do you implement a custom ‘Enumerable’ module in Ruby?
- Explain the concept of ‘Eigenclass’ in Ruby.
- How do you implement an Active Record pattern in Ruby on Rails?
- Explain the concept of ‘N+1 query problem’ in Ruby on Rails.
- How do you implement versioning in RESTful APIs using Ruby on Rails?
- What is the use of the ‘rails generate’ command in Ruby on Rails?
- Explain the concept of ‘strong parameters’ in Ruby on Rails.