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