lib/template/node/part.rb in code-ruby-0.4.0 vs lib/template/node/part.rb in code-ruby-0.5.0

- old
+ new

@@ -1,7 +1,7 @@ class Template class Node - class Part + class Part < Node def initialize(part) if part.key?(:text) @part = ::Template::Node::TextPart.new(part[:text]) elsif part.key?(:code) @part = ::Template::Node::CodePart.new(part[:code])