lib/grumlin/p.rb in grumlin-0.5.1 vs lib/grumlin/p.rb in grumlin-0.6.0
- old
+ new
@@ -3,10 +3,10 @@
module Grumlin
module P
module P
%w[within].each do |step|
define_method step do |*args|
- { # TODO: replace with a class?
+ { # TODO: replace with a TypedValue?
"@type": "g:P",
"@value": { predicate: "within", value: { "@type": "g:List", "@value": args } }
}
end
end