lib/transcriber/resource/parser/property.rb in transcriber-0.0.22 vs lib/transcriber/resource/parser/property.rb in transcriber-0.0.23
- old
+ new
@@ -25,10 +25,10 @@
when Hash then translations[value]
when Proc then resource.instance_eval(&translations)
end
end
- def from_hash(value)
+ def from_hash(value, resource = nil)
value
end
def to_input(value, resource, options = {});
value = translate_to_input(value, resource)