Module: SingletonMethods::Etest

Defined in:
lib/vex/base/object/singleton_methods.rb

Instance Method Summary collapse

Instance Method Details

#test_singleton_methodsObject



18
19
20
21
22
# File 'lib/vex/base/object/singleton_methods.rb', line 18

def test_singleton_methods
  s = "s"
  s.define_object_method :bla do "blabla" end
  assert_equal("blabla", s.bla)
end