Module: Napa::Representable::IncludeNil::ClassMethods

Defined in:
lib/napa/output_formatters/include_nil.rb

Instance Method Summary collapse

Instance Method Details

#property(name, options = {}, &block) ⇒ Object



10
11
12
# File 'lib/napa/output_formatters/include_nil.rb', line 10

def property(name, options={}, &block)
  super(name, options.merge(render_nil: true), &block)
end