Method: Cucumber::RbSupport::RbWorld#inspect

Defined in:
lib/cucumber/rb_support/rb_world.rb

#inspectObject

Prints the list of modules that are included in the World



135
136
137
138
139
140
141
# File 'lib/cucumber/rb_support/rb_world.rb', line 135

def inspect
  modules = [self.class]
  (class << self; self; end).instance_eval do
    modules += included_modules
  end
  sprintf("#<%s:0x%x>", modules.join('+'), self.object_id)
end