Module: Mongrep::Model::Shell

Defined in:
lib/mongrep/model.rb

Overview

Static methods of Shells

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#inspectString

Returns A human readable string representation of the instance.

Returns:

  • (String)

    A human readable string representation of the instance



23
24
25
26
27
28
# File 'lib/mongrep/model.rb', line 23

def inspect
  instance_vars = instance_variables.map do |var|
    "#{var}=#{instance_variable_get(var).inspect}"
  end
  "#<#{self.class.inspect}:#{object_id} #{instance_vars.join(' ')}>"
end