Sha256: 5c0baa324f5cb66d4f78d53021025f20021c0541221f19e545f9e901e12a0e32

Contents?: true

Size: 690 Bytes

Versions: 8

Compression:

Stored size: 690 Bytes

Contents

# frozen_string_literal: true

class Evaluator
  def evaluate(expr)
    raise NotImplementedError.new("You must implement evaluate method.")
  end

  def boolean_convert(_)
    raise NotImplementedError.new("You must implement boolean convert method.")
  end

  def number_convert(_)
    raise NotImplementedError.new("You must implement number convert method.")
  end

  def string_convert(_)
    raise NotImplementedError.new("You must implement string convert method.")
  end

  def extract_var(_)
    raise NotImplementedError.new("You must implement extract var method.")
  end

  def compare(_, _)
    raise NotImplementedError.new("You must implement extract_var method.")
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
absmartly-sdk-1.1.2 lib/json_expr/evaluator.rb
absmartly-sdk-1.1.1 lib/json_expr/evaluator.rb
absmartly-sdk-1.1.0 lib/json_expr/evaluator.rb
absmartly-sdk-1.0.8 lib/json_expr/evaluator.rb
absmartly-sdk-1.0.7 lib/json_expr/evaluator.rb
absmartly-sdk-1.0.6 lib/json_expr/evaluator.rb
absmartly-sdk-1.0.5 lib/json_expr/evaluator.rb
absmartly-sdk-0.1.2 lib/json_expr/evaluator.rb