From 736bff02a51f286814b438879e3ffa84e45f9ad7 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Thu, 23 Jul 2015 14:59:15 +0300 Subject: [PATCH] trying to find .name error --- app/class_view.rb | 2 +- app/source_view.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/class_view.rb b/app/class_view.rb index 9a911b9..b596c8a 100644 --- a/app/class_view.rb +++ b/app/class_view.rb @@ -7,7 +7,7 @@ class ClassView div.row do classes.each do |name , clas| div.row do - clas.name.span + clas.name end end end diff --git a/app/source_view.rb b/app/source_view.rb index c955308..7998f36 100644 --- a/app/source_view.rb +++ b/app/source_view.rb @@ -7,7 +7,7 @@ class SourceView def render div :class => :row do "Virtual Machine Instruction".span - source.name + source end end