2014-08-14 18:49:20 +02:00
|
|
|
require_relative "util"
|
2014-08-18 12:53:05 +02:00
|
|
|
require_relative "node"
|
2014-08-13 19:05:00 +02:00
|
|
|
require_relative "members"
|
2014-08-14 19:04:15 +02:00
|
|
|
require_relative "volotile"
|
2014-08-14 18:24:18 +02:00
|
|
|
require_relative "writer"
|
2014-08-13 19:05:00 +02:00
|
|
|
require_relative "array"
|
2014-08-15 16:14:49 +02:00
|
|
|
require_relative "hash"
|
2014-08-13 19:05:00 +02:00
|
|
|
require_relative "occurence"
|
2014-08-14 16:40:56 +02:00
|
|
|
|
|
|
|
Symbol.class_eval do
|
2014-08-15 21:29:48 +02:00
|
|
|
def to_sof()
|
|
|
|
":#{to_s}"
|
2014-08-14 16:40:56 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
TrueClass.class_eval do
|
2014-08-15 21:29:48 +02:00
|
|
|
def to_sof()
|
|
|
|
"true"
|
2014-08-14 16:40:56 +02:00
|
|
|
end
|
|
|
|
end
|
2014-08-18 13:54:03 +02:00
|
|
|
NilClass.class_eval do
|
|
|
|
def to_sof()
|
|
|
|
"nil"
|
|
|
|
end
|
|
|
|
end
|
2014-08-14 16:40:56 +02:00
|
|
|
FalseClass.class_eval do
|
2014-08-15 21:29:48 +02:00
|
|
|
def to_sof()
|
|
|
|
"false"
|
2014-08-14 16:40:56 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
String.class_eval do
|
2014-08-15 21:29:48 +02:00
|
|
|
def to_sof()
|
|
|
|
"'" + self + "'"
|
2014-08-14 16:40:56 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
Fixnum.class_eval do
|
2014-08-15 21:29:48 +02:00
|
|
|
def to_sof()
|
|
|
|
to_s
|
2014-08-14 16:40:56 +02:00
|
|
|
end
|
|
|
|
end
|