Module: Squeezable::ClassMethods

Defined in:
lib/squeeze.rb

Instance Method Summary collapse

Instance Method Details

#squeezable(options = nil) ⇒ Object



12
13
14
15
16
17
18
# File 'lib/squeeze.rb', line 12

def squeezable(options=nil)
  if options
    @squeeze_spec = options
  else
    @squeeze_spec || superclass.squeezable rescue nil
  end
end