class Nandi::Validator::InstructionValidator

Attributes

instruction[R]

Public Class Methods

call(instruction) click to toggle source
# File lib/nandi/validator.rb, line 12
def self.call(instruction)
  new(instruction).call
end
new(instruction) click to toggle source
# File lib/nandi/validator.rb, line 16
def initialize(instruction)
  @instruction = instruction
end

Public Instance Methods

call() click to toggle source
# File lib/nandi/validator.rb, line 20
def call
  raise NotImplementedError
end