Module: Babl::Operators::Null::DSL

Included in:
Template
Defined in:
lib/babl/operators/null.rb

Instance Method Summary collapse

Instance Method Details

#nullObject

This operator always produces a JSON ‘null’. We need it because a JSON file is also a valid BABL file (only if it is also a valid Ruby file, of course)



10
11
12
# File 'lib/babl/operators/null.rb', line 10

def null
    static(nil)
end