Class: Rattler::Parsers::DisallowCode
- Inherits:
-
ActionCode
- Object
- ActionCode
- Rattler::Parsers::DisallowCode
- Defined in:
- lib/rattler/parsers/disallow_code.rb
Instance Attribute Summary
Attributes inherited from ActionCode
Instance Method Summary collapse
-
#bind(scope, bind_args) ⇒ Object
:nodoc:.
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 |