Class: Peruby::Op::Exists
Overview
Perl exists() over array/hash elements and slices.
Instance Method Summary collapse
-
#initialize(expression) ⇒ Exists
constructor
A new instance of Exists.
- #run(env, context) ⇒ Object
Methods inherited from Base
#argument_cells, #local_slot, #lvalue, #run_subroutine, #to_callable, #warning_directive?
Constructor Details
#initialize(expression) ⇒ Exists
Returns a new instance of Exists.
186 187 188 |
# File 'lib/peruby/op/call.rb', line 186 def initialize(expression) @expression = expression end |