Class: Rattler::Parsers::DisallowCode

Inherits:
ActionCode
  • Object
show all
Defined in:
lib/rattler/parsers/disallow_code.rb

Instance Attribute Summary

Attributes inherited from ActionCode

#body, #param_names

Instance Method Summary collapse

Methods inherited from ActionCode

#arg_bindings, #initialize, #scoped_bindings

Constructor Details

This class inherits a constructor from Rattler::Parsers::ActionCode

Instance Method Details

#bind(scope, bind_args) ⇒ Object

:nodoc:



14
15
16
# File 'lib/rattler/parsers/disallow_code.rb', line 14

def bind(scope, bind_args)
  "!(#{super}) && #{result_code bind_args}"
end