Permalink
Browse files

Ruote::Parser is Ruote::Reader in v2.2.0

  • Loading branch information...
Torsten Schönebaum
Torsten Schönebaum committed Feb 21, 2011
1 parent 667eef9 commit 72f7a18e856b5294eb6347bc7e7d84607968c367
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/models/definition.rb
View
@@ -13,7 +13,7 @@ def revision
def tree
- Ruote::Parser.parse(definition)
+ Ruote::Reader.read(definition)
end
def tree_json
@@ -25,7 +25,7 @@ def tree_json
#
def rubyize!
- self.definition = Ruote::Parser.to_ruby(tree).strip
+ self.definition = Ruote::Reader.to_ruby(tree).strip
end
end

0 comments on commit 72f7a18

Please sign in to comment.