Class: Vanguard::Rule::Nullary::Proxy

Inherits:
Object
  • Object
show all
Includes:
Adamantium::Flat
Defined in:
lib/vanguard/rule/nullary.rb

Overview

Proxy class to simplify builder registration

Instance Method Summary collapse

Instance Method Details

#run(*arguments) ⇒ Enumerable<Rule>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Run builder with arguments

Parameters:

  • arguments (Enumerable<Object>)

Returns:

  • (Enumerable<Rule>)


53
54
55
# File 'lib/vanguard/rule/nullary.rb', line 53

def run(*arguments)
  @builder.run(@klass, *arguments)
end