lib/supa/commands/attribute.rb in supa-0.1.1 vs lib/supa/commands/attribute.rb in supa-0.1.2

- old
+ new

@@ -2,12 +2,10 @@ module Supa module Commands class Attribute < Supa::Command def represent - value = with_getter? ? context.instance_exec(&getter) : context.send(name) - - tree[name] = value + tree[name] = get_value end end end end