Class: Push
- Inherits:
-
InstanceCall
- Object
- Array
- InstanceCall
- Push
- Defined in:
- lib/core/instance_call/Push.rb
Instance Method Summary collapse
- #copy ⇒ Object
- #destructive? ⇒ Boolean
-
#initialize ⇒ Push
constructor
A new instance of Push.
- #write ⇒ Object
Methods inherited from InstanceCall
#closure, #describe, #requirements, #response, #to_declaration, #to_literal_string, #use, #valid_syntax?
Methods inherited from Array
#cauldron_method_calls, #contains?, #select_all, #to_declaration, #to_intrinsic, #to_literal, #to_var
Constructor Details
#initialize ⇒ Push
Returns a new instance of Push.
4 5 6 |
# File 'lib/core/instance_call/Push.rb', line 4 def initialize end |
Instance Method Details
#copy ⇒ Object
12 13 14 |
# File 'lib/core/instance_call/Push.rb', line 12 def copy return Push.new end |
#destructive? ⇒ Boolean
16 17 18 |
# File 'lib/core/instance_call/Push.rb', line 16 def destructive? return true end |
#write ⇒ Object
8 9 10 |
# File 'lib/core/instance_call/Push.rb', line 8 def write return '.push' end |