# your code goes here module A def ok @a || false end class B def initialize if ok? puts "yes" else puts "no" end end end end t = A::B.new
Standard input is empty
Standard output is empty
prog.rb:10:in `initialize': undefined method `ok?' for #<A::B:0x90c3808> (NoMethodError) from prog.rb:19:in `new' from prog.rb:19:in `<main>'