Sha256: d3a97e43807d968597342e8c6c141db6dd6545f2958353837e7f44ea4541f52a

Contents?: true

Size: 403 Bytes

Versions: 18

Compression:

Stored size: 403 Bytes

Contents

# @Opulent
module Opulent
  # @Compiler
  class Compiler
    # Evaluate the embedded ruby code using the current context
    #
    # @param node [Array] Node code generation data
    # @param indent [Fixnum] Size of the indentation to be added
    # @param context [Context] Processing environment data
    #
    def evaluate(node, indent, context)
      context.evaluate node[@value]
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
opulent-1.4.0 lib/opulent/compiler/eval.rb
opulent-1.3.3 lib/opulent/compiler/eval.rb
opulent-1.3.2 lib/opulent/compiler/eval.rb
opulent-1.3.1 lib/opulent/compiler/eval.rb
opulent-1.3.0 lib/opulent/compiler/eval.rb
opulent-1.2.1 lib/opulent/compiler/eval.rb
opulent-1.2.0 lib/opulent/compiler/eval.rb
opulent-1.1.9 lib/opulent/compiler/eval.rb
opulent-1.1.7 lib/opulent/compiler/eval.rb
opulent-1.1.6 lib/opulent/compiler/eval.rb
opulent-1.1.5 lib/opulent/compiler/eval.rb
opulent-1.1.0 lib/opulent/compiler/eval.rb
opulent-1.0.9 lib/opulent/compiler/eval.rb
opulent-1.0.8 lib/opulent/compiler/eval.rb
opulent-1.0.7 lib/opulent/compiler/eval.rb
opulent-1.0.4 lib/opulent/compiler/eval.rb
opulent-1.0.3 lib/opulent/compiler/eval.rb
opulent-1.0.2 lib/opulent/compiler/eval.rb