Module: Mongrep::Model::Shell
- Defined in:
- lib/mongrep/model.rb
Overview
Static methods of Shells
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#inspect ⇒ String
A human readable string representation of the instance.
Instance Method Details
#inspect ⇒ String
Returns 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 |