Module: JbuilderExcept

Defined in:
lib/jbuilder/except.rb,
lib/jbuilder/except/version.rb

Constant Summary collapse

VERSION =
'0.1.0'.freeze

Instance Method Summary collapse

Instance Method Details

#extract_except!(resource, *attributes) ⇒ Object



4
5
6
# File 'lib/jbuilder/except.rb', line 4

def extract_except! resource, *attributes
  extract! resource, *keys_except(resource, *attributes) if resource.present?
end