From bc71d67647ac9b124cc666a43fc819cad20cfe06 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Wed, 4 Jun 2014 20:32:43 +0200
Subject: pretty
---
hg.rb | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
(limited to 'hg.rb')
diff --git a/hg.rb b/hg.rb
index a7d1d99..f6af75d 100644
--- a/hg.rb
+++ b/hg.rb
@@ -1,7 +1,6 @@
#!/usr/bin/env ruby
require 'nlp_ruby'
-require 'json'
require_relative 'grammar'
@@ -9,7 +8,7 @@ module HG
class HG::Node
- attr_accessor :id, :cat, :outgoing, :incoming, :score
+ attr_accessor :id, :outgoing, :incoming, :score
def initialize id=nil, cat=nil, outgoing=[], incoming=[], score=nil
@id = id
@@ -19,7 +18,7 @@ class HG::Node
end
def to_s
- "Node