lib/apidiesel/dsl.rb in apidiesel-0.3 vs lib/apidiesel/dsl.rb in apidiesel-0.4

- old
+ new

@@ -429,9 +429,13 @@ processed_data end end + %w{value string integer float hash array datetime objects symbol}.each do |name| + define_method "x_#{name}".to_sym, ->(*args, **kargs, &block) { } + end + # Descends into the hash key hierarchy # # Useful for cutting out useless top-level keys # # @param [Symbol, Array] key \ No newline at end of file