class PDF::Writer::StateStack

Public Instance Methods

__push__(obj)
Alias for: push
push(obj) click to toggle source

alias_method :__pop__, :pop

   # File lib/pdf/writer/state.rb
36 def push(obj)
37   return self if obj.nil?
38   raise TypeError unless obj.kind_of?(PDF::Writer::State)
39   return self if obj.blank?
40   __push__(obj)
41 end
Also aliased as: __push__