Class: Ruby::Reflection::ObjectMirror
- Inherits:
-
Mirror
- Object
- Mirror
- Ruby::Reflection::ObjectMirror
- Includes:
- AbstractReflection::ObjectMirror
- Defined in:
- lib/ruby/reflection/object_mirror.rb
Direct Known Subclasses
Instance Method Summary (collapse)
Methods included from AbstractReflection::ObjectMirror
#class_variables, #instance_eval, #objects_with_references, #path_to, #target_class, #transitive_closure
Methods included from AbstractReflection::Mirror
Methods included from AbstractReflection::Mirror::ClassMethods
#included, #mirror_class, #reflect, #reflect!, #reflects?, #register_mirror
Instance Method Details
- (Object) variables
7 8 9 |
# File 'lib/ruby/reflection/object_mirror.rb', line 7 def variables field_mirrors @subject.instance_variables end |